Add overall/cycle timeout

This commit is contained in:
Thomas Göttgens 2022-12-08 14:09:42 +01:00
parent c85791a854
commit 8a12803f95
2 changed files with 11 additions and 0 deletions

View file

@ -9,3 +9,7 @@
*AudioConfig.i2s_sd int_size:8
*AudioConfig.i2s_din int_size:8
*AudioConfig.i2s_sck int_size:8
*ExternalNotificationConfig.output_vibra int_size 8
*ExternalNotificationConfig.output_buzzer int_size 8
*ExternalNotificationConfig.nag_timeout int_size 16

View file

@ -265,6 +265,13 @@ message ModuleConfig {
* device.buzzer_gpio instead.
*/
bool use_pwm = 7;
/*
* The notification will toggle with 'output_ms' for this time of seconds.
* Default is 0 which means don't repeat at all. 60 would mean blink
* and/or beep for 60 seconds
*/
uint32 nag_timeout = 14;
}
/*