BUG FIX: Introduced an E-07 issue if an OEM controller was plugged in

- was due to vTaskDelay at end of loop() - now only delays if OEM is NOT detected.
This commit is contained in:
Ray Jones 2019-11-21 20:32:54 +11:00
parent 6fb7b9d608
commit c649517805
1 changed files with 5 additions and 1 deletions

View File

@ -893,7 +893,11 @@ void loop()
BlueWireData.reset(); // ensure we flush any used data
vTaskDelay(1); // give up for now - allow power lowering...
// 21/11/19 vTaskDelay() causes E-07 errors when OEM controller is attached.
// may look at a specific freertos task to handle the blue wire....
if(!bHasOEMController) {
vTaskDelay(1); // give up for now - allow power lowering...
}
} // loop