diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-04-05 14:49:12 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-05 20:55:14 +0200 |
commit | 87a40552fb9ef7d7f1f62de271864a4a1f372594 (patch) | |
tree | b805c84da3be2d74d99dd9c16369b704f1cf9023 /firmware/target | |
parent | 0efa73f0ecfbc9d907220dbbf9a8202dff9dfddf (diff) |
simulator: Fix sim build for sdl/hosted targets
Change-Id: I39a7be7cf0ace47cd4aba2a01d9450e1ba41cb7b
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/hosted/sdl/button-sdl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.c b/firmware/target/hosted/sdl/button-sdl.c index 2a3202b6bc..8bf813ce16 100644 --- a/firmware/target/hosted/sdl/button-sdl.c +++ b/firmware/target/hosted/sdl/button-sdl.c @@ -67,7 +67,9 @@ int remote_type(void) } #endif +#ifndef SIMULATOR struct event_queue button_queue; +#endif static int btn = 0; /* Hopefully keeps track of currently pressed keys... */ |