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