summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-05-22 17:26:49 +0200
committerDerf Null <derf@finalrewind.org>2023-05-22 17:26:49 +0200
commit97d105ffced6685be3d25c054e73ee541e8284d9 (patch)
treeb634f23b5ad07932b6691ef10c2b0284b569f39c
parent2b925de7db062516c480e4c02afb26c0d5373a80 (diff)
show RSSI
-rw-r--r--src/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.lua b/src/init.lua
index 54a2a2d..4bc1931 100644
--- a/src/init.lua
+++ b/src/init.lua
@@ -83,8 +83,8 @@ function measure()
fb.print(fn, line2)
fb.draw_battery_8(114, 0, bat_p)
if have_wifi then
- fb.x = 116
- fb.print(fn, "W")
+ fb.x = 100
+ fb.print(fn, string.format("%d", wifi.sta.getrssi()))
end
if no_wifi_count < 120 then
no_wifi_count = no_wifi_count + 1