Fixes to get the discrete joystick driver and test working
This commit is contained in:
parent
3f010b1905
commit
62cb2f3c06
@ -152,6 +152,10 @@ int djoy_main(int argc, char *argv[])
|
||||
int ret;
|
||||
int err = EXIT_FAILURE;
|
||||
|
||||
/* Reset some globals that might been been left in a bad state */
|
||||
|
||||
g_djoylast = 0;
|
||||
|
||||
/* Open the djoystick device */
|
||||
|
||||
fd = open(CONFIG_EXAMPLES_DJOYSTICK_DEVNAME, O_RDONLY);
|
||||
|
Loading…
x
Reference in New Issue
Block a user