mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 19:26:37 +00:00
parent
a2af12c969
commit
64ec55db4e
@ -706,7 +706,7 @@ class leds_panel
|
|||||||
var h, w, cell_size, cell_space
|
var h, w, cell_size, cell_space
|
||||||
|
|
||||||
static var SAMPLING = 100
|
static var SAMPLING = 100
|
||||||
static var PORT = 8887 # default port 8886
|
static var PORT = 8886 # default port 8886
|
||||||
static var HTML_HEAD1 =
|
static var HTML_HEAD1 =
|
||||||
"<!DOCTYPE HTML><html><head>"
|
"<!DOCTYPE HTML><html><head>"
|
||||||
static var HTML_URL_F =
|
static var HTML_URL_F =
|
||||||
@ -812,7 +812,7 @@ class leds_panel
|
|||||||
log("LED: no leds configured, can't start leds_panel", 3)
|
log("LED: no leds configured, can't start leds_panel", 3)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if (port == nil) port = 8886 end
|
if (port == nil) port = self.PORT end
|
||||||
self.port = port
|
self.port = port
|
||||||
self.web = global.webserver_async(port)
|
self.web = global.webserver_async(port)
|
||||||
self.sampling_interval = self.SAMPLING
|
self.sampling_interval = self.SAMPLING
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user