diff options
author | Solderpunk <solderpunk@sdf.org> | 2018-12-13 16:08:25 +0000 |
---|---|---|
committer | Solderpunk <solderpunk@sdf.org> | 2018-12-13 16:08:25 +0000 |
commit | 536818e31d5df66072a3d0cb0383430523b65978 (patch) | |
tree | 90a394fc52860e71be2e47497c415b3bb0f34a6c /telem.lua | |
parent | Delete tmp files which are no longer needed. (diff) |
Print board indices when doing a scan.
Diffstat (limited to 'telem.lua')
-rwxr-xr-x | telem.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -365,7 +365,8 @@ function do_new() end function do_scan() - for _, board in ipairs(boards) do + for i, board in ipairs(boards) do + io.write(string.format("%3d ", i)) io.write("Scanning " .. colourise("cyan", stringx.ljust(board.name,20))) local threads = get_threads(board) local updated_threads = 0 |