16-bit limits were broken on ARM
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user