Added comment regarding parameter loop

This commit is contained in:
Melissa LeBlanc-Williams 2019-04-05 11:11:27 -07:00
parent 7872a33f8b
commit 97baa7899f

View File

@ -84,6 +84,7 @@ void common_hal_displayio_display_construct(displayio_display_obj_t* self,
uint8_t *data = cmd + 2;
self->send(self->bus, true, cmd, 1);
if (self->data_as_commands) {
// Loop through each parameter to force a CS toggle
for (uint32_t j=0; j < data_size; j++) {
self->send(self->bus, true, data + j, 1);
}