publish "start_beep"
This commit is contained in:
@@ -487,6 +487,10 @@ static void handleKeyReceived(void)
|
||||
tBeepingStartWithoutWindowClose = Seconds::Get();
|
||||
piepPattern->Start(DOUT_PIEP_PWM);
|
||||
bUpdateDisp = true;
|
||||
|
||||
char payload[64];
|
||||
snprintf(payload, sizeof(payload), "{\"event\":\"start_beep\", \"variant\": \"" PROJECT_VARIANT "\" }");
|
||||
myMqttClient.publishStatus(payload);
|
||||
}
|
||||
shallPiepPrevious = shallPiepNew;
|
||||
numberWindowsOpen = numberWindowsOpenNew;
|
||||
|
||||
Reference in New Issue
Block a user