diff options
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r-- | firmware/target/hosted/sdl/app/button-target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/app/button-target.h b/firmware/target/hosted/sdl/app/button-target.h index 5295315e2e..d4396fd0d5 100644 --- a/firmware/target/hosted/sdl/app/button-target.h +++ b/firmware/target/hosted/sdl/app/button-target.h | |||
@@ -31,7 +31,11 @@ | |||
31 | bool button_hold(void); | 31 | bool button_hold(void); |
32 | */ | 32 | */ |
33 | void button_init_device(void); | 33 | void button_init_device(void); |
34 | #ifdef HAVE_BUTTON_DATA | ||
34 | int button_read_device(int *data); | 35 | int button_read_device(int *data); |
36 | #else | ||
37 | int button_read_device(void); | ||
38 | #endif | ||
35 | 39 | ||
36 | /* Main unit's buttons */ | 40 | /* Main unit's buttons */ |
37 | #define BUTTON_UP 0x00000001 | 41 | #define BUTTON_UP 0x00000001 |