From ecc2be0b3e0dc3b3e9b6695fbc1c813eb87ef020 Mon Sep 17 00:00:00 2001 From: Andre Bernet Date: Thu, 23 Jan 2014 21:15:26 +0100 Subject: [PATCH] 16-bit limits were broken on ARM --- radio/src/gui/menu_model.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radio/src/gui/menu_model.cpp b/radio/src/gui/menu_model.cpp index 7ee065334..77c0617a2 100644 --- a/radio/src/gui/menu_model.cpp +++ b/radio/src/gui/menu_model.cpp @@ -3750,6 +3750,8 @@ enum LimitsItems { #define MIN_MAX_DISPLAY(x) CONVERT_US_MIN_MAX(x) #undef MIN_MAX_ATTR #define MIN_MAX_ATTR attr +#elif defined(CPUARM) + #define MIN_MAX_DISPLAY(x) (x) #else #define MIN_MAX_DISPLAY(x) ((int8_t)(x)) #endif