mirror of
https://github.com/KarnerF/SMPlusGui.git
synced 2026-10-06 08:00:19 +02:00
Increase USB poll interval to 5s to reduce browser load
This commit is contained in:
1 parent
f53a1d98c0
commit
f289b4dcc2
1 file changed
+1
-1
@@ -1920,7 +1920,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data) {
|
||||
"if(_usbPrev!==null&&_usbPrev!==d.present)location.reload();"
|
||||
"_usbPrev=d.present;" /* sessionStorage keeps panel across USB reload */
|
||||
"}).catch(function(){if(_usbPrev===true)location.reload();});"
|
||||
"},2000);"
|
||||
"},5000);"
|
||||
"function filterLog(cat){"
|
||||
"_logFilter=cat;"
|
||||
"document.querySelectorAll('.lf-btn').forEach(function(b){"
|
||||
|
||||
Reference in new issue
Block a user