Add no APs found message
parent
acb5270f16
commit
f7f1fb9b9f
|
@ -40,6 +40,9 @@ while not Buttons.is_pressed(Buttons.BTN_Menu):
|
|||
for ap in aps[:20]:
|
||||
ugfx.Label(0, y, 240, 25, "{1}dB {0}".format(*ap))
|
||||
y += status_height
|
||||
|
||||
if len(aps) == 0:
|
||||
ugfx.Label(0, y, 240, 25, "No emfcamp-legacy18 APs found")
|
||||
|
||||
ugfx.clear()
|
||||
app.restart_to_default()
|
||||
|
|
Loading…
Reference in New Issue