Skip to content

Commit

Permalink
input/ff: modify FF_MAX to support 64-bit machine
Browse files Browse the repository at this point in the history
Signed-off-by: fangpeina <fangpeina@xiaomi.com>
  • Loading branch information
fangpeina authored and xiaoxiang781216 committed Sep 14, 2024
1 parent 981bda5 commit 401a06f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nuttx/input/ff.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

#define FF_MAX_EFFECTS FF_GAIN

#define FF_MAX 0x1f
#define FF_MAX 0x7f
#define FF_CNT (FF_MAX + 1)

/* Values describing the status of a force-feedback effect. */
Expand Down

0 comments on commit 401a06f

Please sign in to comment.