diff options
-rw-r--r-- | firmware/target/hosted/sdl/kernel-sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/kernel-sdl.c b/firmware/target/hosted/sdl/kernel-sdl.c index 0b416858ea..d933b9097e 100644 --- a/firmware/target/hosted/sdl/kernel-sdl.c +++ b/firmware/target/hosted/sdl/kernel-sdl.c | |||
@@ -40,7 +40,7 @@ static SDL_cond *sim_thread_cond; | |||
40 | * inside a handler */ | 40 | * inside a handler */ |
41 | static SDL_mutex *sim_irq_mtx; | 41 | static SDL_mutex *sim_irq_mtx; |
42 | /* Level: 0 = enabled, not 0 = disabled */ | 42 | /* Level: 0 = enabled, not 0 = disabled */ |
43 | static int interrupt_level = HIGHEST_IRQ_LEVEL; | 43 | static int volatile interrupt_level = HIGHEST_IRQ_LEVEL; |
44 | /* How many handers waiting? Not strictly needed because CondSignal is a | 44 | /* How many handers waiting? Not strictly needed because CondSignal is a |
45 | * noop if no threads were waiting but it filters-out calls to functions | 45 | * noop if no threads were waiting but it filters-out calls to functions |
46 | * with higher overhead and provides info when debugging. */ | 46 | * with higher overhead and provides info when debugging. */ |