mirror of
https://github.com/cathery/sys-con.git
synced 2025-01-12 21:37:54 +00:00
Fix the static assertion check
This commit is contained in:
parent
f59352bee3
commit
0efde144e5
@ -5,7 +5,7 @@
|
|||||||
#define JOYSTICK_MIN_FIXED (JOYSTICK_MIN + 1)
|
#define JOYSTICK_MIN_FIXED (JOYSTICK_MIN + 1)
|
||||||
|
|
||||||
static_assert(
|
static_assert(
|
||||||
JOYSTICK_MAX_FIXED <= 32767 && JOYSTICK_MIN_FIXED >= -32767,
|
JOYSTICK_MAX_FIXED == 32767 && JOYSTICK_MIN_FIXED == -32767,
|
||||||
"Seems like you're using a libnx build that has fixed the joystick values, please remove these _FIXED defines and use the unmodified joystick values instead"
|
"Seems like you're using a libnx build that has fixed the joystick values, please remove these _FIXED defines and use the unmodified joystick values instead"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user