1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00

16-bit limits were broken on ARM

This commit is contained in:
Andre Bernet 2014-01-23 21:15:26 +01:00
parent 5741739360
commit ecc2be0b3e

View file

@ -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