1
0
forked from me/IronOS

Allow S60 fallback to head if PD times out after 3 seconds

This commit is contained in:
Ben V. Brown
2023-07-28 18:40:16 +10:00
parent 118fa09ce7
commit 9a3fef92c3

View File

@@ -208,7 +208,7 @@ bool isTipDisconnected() {
void setStatusLED(const enum StatusLED state) {}
uint8_t preStartChecks() {
if (!hub238_has_run_selection()) {
if (!hub238_has_run_selection() && (xTaskGetTickCount() < TICKS_SECOND * 5)) {
return 0;
}
// We check if we are in a "Limited" mode; where we have to run the PWM really fast