Open phil123456 opened 5 years ago
https://github.com/recalbox/mk_arcade_joystick_rpi/issues/62
The changes described here worked for me.
Made a fork to fix this here: https://github.com/jclauzel/mk_arcade_joystick_rpi the following should work: sudo git clone https://github.com/jclauzel/mk_arcade_joystick_rpi.git
Hello,
I tried to compile the driver but apparently setup_timer is deprecated
error: implicit declaration of function ‘setup_timer’; did you mean ‘del_timer’? [-Werror=implicit-function-declaration] setup_timer(&mk->timer, mk_timer, (long) mk); ^~~~~~~~~~~ del_timer
how can I fix this ? I tried using timer_setup but the parameters are way different
also "gpio" appearas not to be defined
error: ‘gpio’ undeclared (first use in this function)
thanks