summaryrefslogtreecommitdiff
path: root/firmware/scroll_engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/scroll_engine.c')
-rw-r--r--firmware/scroll_engine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/scroll_engine.c b/firmware/scroll_engine.c
index b7e0601150..4fee7ed1d6 100644
--- a/firmware/scroll_engine.c
+++ b/firmware/scroll_engine.c
@@ -242,7 +242,7 @@ static bool scroll_process_message(int delay)
242 usb_wait_for_disconnect(&scroll_queue); 242 usb_wait_for_disconnect(&scroll_queue);
243 sync_display_ticks(); 243 sync_display_ticks();
244 return true; 244 return true;
245#ifndef SIMULATOR 245#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
246 case SYS_REMOTE_PLUGGED: 246 case SYS_REMOTE_PLUGGED:
247 if (!remote_initialized) 247 if (!remote_initialized)
248 sync_display_ticks(); 248 sync_display_ticks();
@@ -280,7 +280,7 @@ static void scroll_thread(void)
280 delay = current_tick; 280 delay = current_tick;
281 281
282 if ( 282 if (
283#ifndef SIMULATOR 283#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
284 !remote_initialized || 284 !remote_initialized ||
285#endif 285#endif
286 (tick_remote = lcd_remote_scroll_info.last_scroll + 286 (tick_remote = lcd_remote_scroll_info.last_scroll +