diff options
Diffstat (limited to 'firmware/drivers/touchscreen.c')
-rwxr-xr-x | firmware/drivers/touchscreen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/touchscreen.c b/firmware/drivers/touchscreen.c index bf63e488ec..9660e0cb9d 100755 --- a/firmware/drivers/touchscreen.c +++ b/firmware/drivers/touchscreen.c | |||
@@ -27,8 +27,8 @@ | |||
27 | #include "logf.h" | 27 | #include "logf.h" |
28 | 28 | ||
29 | /* Size of the 'dead zone' around each 3x3 button */ | 29 | /* Size of the 'dead zone' around each 3x3 button */ |
30 | #define BUTTON_MARGIN_X LCD_WIDTH * 0.03 | 30 | #define BUTTON_MARGIN_X (int)(LCD_WIDTH * 0.03) |
31 | #define BUTTON_MARGIN_Y LCD_HEIGHT * 0.03 | 31 | #define BUTTON_MARGIN_Y (int)(LCD_HEIGHT * 0.03) |
32 | 32 | ||
33 | static enum touchscreen_mode current_mode = TOUCHSCREEN_POINT; | 33 | static enum touchscreen_mode current_mode = TOUCHSCREEN_POINT; |
34 | static const int touchscreen_buttons[3][3] = | 34 | static const int touchscreen_buttons[3][3] = |