fix(blink): decrease blink frequency
This commit is contained in:
parent
1b74031793
commit
18de61b0f8
@ -85,7 +85,7 @@ func (p *LedPart) onRecord(client mqtt.Client, message mqtt.Message) {
|
|||||||
|
|
||||||
if switchRecord.GetEnabled() {
|
if switchRecord.GetEnabled() {
|
||||||
zap.S().Info("record mode enabled")
|
zap.S().Info("record mode enabled")
|
||||||
p.led.SetBlink(2)
|
p.led.SetBlink(0.5)
|
||||||
} else {
|
} else {
|
||||||
zap.S().Info("record mode disabled")
|
zap.S().Info("record mode disabled")
|
||||||
p.led.SetBlink(0)
|
p.led.SetBlink(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user