fix(blink): decrease blink frequency

This commit is contained in:
Cyrille Nofficial 2021-12-29 18:31:53 +01:00
parent 1b74031793
commit 18de61b0f8

View File

@ -85,7 +85,7 @@ func (p *LedPart) onRecord(client mqtt.Client, message mqtt.Message) {
if switchRecord.GetEnabled() {
zap.S().Info("record mode enabled")
p.led.SetBlink(2)
p.led.SetBlink(0.5)
} else {
zap.S().Info("record mode disabled")
p.led.SetBlink(0)