Merge pull request #3453 from DavePutz/issue3367

Issue #3367 Changed delay calls to avoid conflicts with qspi_disable
This commit is contained in:
Scott Shawcroft 2020-09-28 14:18:51 -07:00 committed by GitHub
commit ffeaef5d82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,9 +87,9 @@ bool common_hal_displayio_fourwire_reset(mp_obj_t obj) {
return false;
}
common_hal_digitalio_digitalinout_set_value(&self->reset, false);
common_hal_time_delay_ms(1);
common_hal_mcu_delay_us(1000);
common_hal_digitalio_digitalinout_set_value(&self->reset, true);
common_hal_time_delay_ms(1);
common_hal_mcu_delay_us(1000);
return true;
}