mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
Remove delay from stock ticker to match news ticker's smooth scrolling
This commit is contained in:
@@ -141,8 +141,8 @@ class DisplayController:
|
||||
self.weather.display_daily_forecast(force_clear=self.force_clear)
|
||||
time.sleep(self.update_interval)
|
||||
elif self.current_display == 'stocks' and self.stocks:
|
||||
# For stocks, we want to update as fast as possible without delay
|
||||
self.stocks.display_stocks(force_clear=self.force_clear)
|
||||
time.sleep(self.update_interval)
|
||||
elif self.current_display == 'stock_news' and self.news:
|
||||
# For news, we want to update as fast as possible without delay
|
||||
self.news.display_news()
|
||||
|
||||
Reference in New Issue
Block a user