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:
parent
5741739360
commit
ecc2be0b3e
1 changed files with 2 additions and 0 deletions
|
@ -3750,6 +3750,8 @@ enum LimitsItems {
|
||||||
#define MIN_MAX_DISPLAY(x) CONVERT_US_MIN_MAX(x)
|
#define MIN_MAX_DISPLAY(x) CONVERT_US_MIN_MAX(x)
|
||||||
#undef MIN_MAX_ATTR
|
#undef MIN_MAX_ATTR
|
||||||
#define MIN_MAX_ATTR attr
|
#define MIN_MAX_ATTR attr
|
||||||
|
#elif defined(CPUARM)
|
||||||
|
#define MIN_MAX_DISPLAY(x) (x)
|
||||||
#else
|
#else
|
||||||
#define MIN_MAX_DISPLAY(x) ((int8_t)(x))
|
#define MIN_MAX_DISPLAY(x) ((int8_t)(x))
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue