From d223b1fc336f1d1ca6fdfda7cc1445cd64e892f7 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Sat, 17 Aug 2019 13:20:33 +0200 Subject: [PATCH] cast removed --- radio/src/opentx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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