Added OLED Timeout settings in html

This commit is contained in:
Sottosistema W10 2021-09-15 19:58:30 +02:00
parent be5bc1da6d
commit bbab02a514
1 changed files with 2 additions and 1 deletions

View File

@ -883,6 +883,7 @@ void loop() {
}
if (manBeacon) {
// Manually sending beacon from html page
enableOled();
writedisplaytext("((WEB TX))","","","","","");
sendpacket();
@ -891,7 +892,7 @@ void loop() {
// Only wake up OLED when necessary, note that DIM is to turn OFF the backlight
if (enabled_oled) {
if (oled_timeout>0) {
display.dim(!tempOled);
display.dim(!tempOled);
} else {
// If timeout is 0 keep OLED awake
display.dim(false);