Skip to content
Snippets Groups Projects
Commit e627600c authored by Christoph Heinen's avatar Christoph Heinen
Browse files

bugfix multilinedisplays

parent bc541c0c
Branches new_datastructure
No related tags found
No related merge requests found
......@@ -484,7 +484,7 @@ F.display_arrivals = function(arrivals, lcds,screen_width,screen_height)
for i,line in ipairs(multi_screen_lines) do
display_line = (i-1)%screen_height+1
display_line = math.floor((i-1)/screen_height+1)
--print("displayline " .. display_line)
for j,lcd_name in ipairs(lcd[display_line]) do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment