1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-12-25 00:13:52 +00:00

Fix the static assertion check

This commit is contained in:
cathery 2020-01-25 01:43:10 +03:00
parent f59352bee3
commit 0efde144e5

View File

@ -5,7 +5,7 @@
#define JOYSTICK_MIN_FIXED (JOYSTICK_MIN + 1)
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"
);