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:
parent
6fb7b9d608
commit
c649517805
|
@ -893,7 +893,11 @@ void loop()
|
||||||
|
|
||||||
BlueWireData.reset(); // ensure we flush any used data
|
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
|
} // loop
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue