diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index bd41995ab..1a2033451 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -2082,7 +2082,7 @@ uint32_t pwrCheck() if (g_eeGeneral.backlightMode != e_backlight_mode_off) { BACKLIGHT_ENABLE(); } - if (get_tmr10ms() - pwr_press_time > (uint32_t)PWR_PRESS_SHUTDOWN_DELAY()) { + if (get_tmr10ms() - pwr_press_time > PWR_PRESS_SHUTDOWN_DELAY()) { #if defined(SHUTDOWN_CONFIRMATION) while (1) { #else