summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBen V. Brown <[email protected]>2023-07-28 18:40:16 +1000
committerBen V. Brown <[email protected]>2023-07-28 18:40:16 +1000
commit9a3fef92c3a8482aa66204ba432b964716e4cfe3 (patch)
tree7c2813a15529366ddb7bcdd66a10206d951d8ef3
parent118fa09ce776711865716478b55544cb0461d7bc (diff)
downloadIronOS-9a3fef92c3a8482aa66204ba432b964716e4cfe3.tar.gz
IronOS-9a3fef92c3a8482aa66204ba432b964716e4cfe3.zip
Allow S60 fallback to head if PD times out after 3 seconds
-rw-r--r--source/Core/BSP/Sequre_S60/BSP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Core/BSP/Sequre_S60/BSP.cpp b/source/Core/BSP/Sequre_S60/BSP.cpp
index 8a41d18b..a5eea65b 100644
--- a/source/Core/BSP/Sequre_S60/BSP.cpp
+++ b/source/Core/BSP/Sequre_S60/BSP.cpp
@@ -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