From b18191a5392cbb9461a0dae2e91abecd51cdc711 Mon Sep 17 00:00:00 2001 From: FeralAI <13342258+FeralAI@users.noreply.github.com> Date: Fri, 3 Dec 2021 00:44:25 -0600 Subject: [PATCH] Remove the artificial delays --- lib/FlashPROM/src/FlashPROM.cpp | 3 --- src/display.cpp | 1 - 2 files changed, 4 deletions(-) diff --git a/lib/FlashPROM/src/FlashPROM.cpp b/lib/FlashPROM/src/FlashPROM.cpp index 6ad4aa3f..1ce68424 100644 --- a/lib/FlashPROM/src/FlashPROM.cpp +++ b/lib/FlashPROM/src/FlashPROM.cpp @@ -47,9 +47,6 @@ void FlashPROM::start() if (reset) this->reset(); - - // Just wait a bit to make sure things are settled - sleep_ms(50); } /* We don't have an actual EEPROM, so we need to be extra careful about minimizing writes. Instead diff --git a/src/display.cpp b/src/display.cpp index a9c621eb..5c6a8cac 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -136,7 +136,6 @@ void DisplayModule::setup() -1, options.i2cSpeed); - sleep_ms(100); obdSetContrast(&obd, 0xFF); obdSetBackBuffer(&obd, ucBackBuffer); clearScreen(1);