From 97d105ffced6685be3d25c054e73ee541e8284d9 Mon Sep 17 00:00:00 2001 From: Derf Null Date: Mon, 22 May 2023 17:26:49 +0200 Subject: show RSSI --- src/init.lua | 4 ++-- 1 file 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 -- cgit v1.2.3