summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/target/hosted/sdl/button-sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.c b/firmware/target/hosted/sdl/button-sdl.c
index 6890aae0ec..0edbe81615 100644
--- a/firmware/target/hosted/sdl/button-sdl.c
+++ b/firmware/target/hosted/sdl/button-sdl.c
@@ -164,7 +164,7 @@ static void mouse_event(SDL_MouseButtonEvent *event, bool button_up)
break;
}
- if (debug_wps && event->button == BUTTON_LEFT)
+ if (debug_wps && event->button == SDL_BUTTON_LEFT)
{
int m_x, m_y;