Merge branch 'master' into polish-oled

This commit is contained in:
And137 2024-08-29 20:04:03 +02:00 committed by GitHub
commit a6cc7041d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -398,6 +398,7 @@ void NodeDB::installDefaultModuleConfig()
#if defined(PIN_BUZZER)
moduleConfig.external_notification.enabled = true;
moduleConfig.external_notification.output_buzzer = PIN_BUZZER;
moduleConfig.external_notification.use_pwm = true;
moduleConfig.external_notification.alert_message_buzzer = true;
moduleConfig.external_notification.nag_timeout = 60;
#endif
@ -410,6 +411,7 @@ void NodeDB::installDefaultModuleConfig()
moduleConfig.external_notification.output_ms = 1000;
moduleConfig.external_notification.nag_timeout = 60;
#endif
#ifdef HAS_I2S
// Don't worry about the other settings for T-Watch, we'll also use the DRV2056 behavior for notifications
moduleConfig.external_notification.enabled = true;