chrisys / train-departure-display

A replica, near real-time, miniature UK railway station train departure sign based upon a Raspberry Pi Zero and 256x64 SPI OLED display
245 stars 76 forks source link

Always retrieve 10 rows of data from NR API #103

Closed CalamityJames closed 1 year ago

CalamityJames commented 1 year ago

Fixes #102.

Tested on my local copy and doesn't seem to add any noticeable lag to the startup, but fixes issues where a station has enough departures on other platforms to not fill up the display.

Theoretically this could be added as a config variable, but I don't think allowing people to change it really offers much benefit.