Added small delay inside toggle for edge cases

This commit is contained in:
Melissa LeBlanc-Williams 2019-03-26 07:39:40 -07:00
parent d9de1b9926
commit 09a1f06bbf
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ void common_hal_displayio_display_construct(displayio_display_obj_t* self,
uint8_t *data = cmd + 2; uint8_t *data = cmd + 2;
if (self->init_cs_toggle && self->set_cs != NULL) { if (self->init_cs_toggle && self->set_cs != NULL) {
self->set_cs(self->bus, true); self->set_cs(self->bus, true);
common_hal_time_delay_ms(1);
self->set_cs(self->bus, false); self->set_cs(self->bus, false);
} }
self->send(self->bus, true, cmd, 1); self->send(self->bus, true, cmd, 1);