Fix T1000-E default to turn on buzzer for Ext. Notification (#4575)

This commit is contained in:
Ben Meadors 2024-08-28 07:24:41 -05:00 committed by GitHub
parent 5b3579af52
commit a34170654c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -395,6 +395,12 @@ void NodeDB::installDefaultModuleConfig()
moduleConfig.has_store_forward = true;
moduleConfig.has_telemetry = true;
moduleConfig.has_external_notification = true;
#if defined(PIN_BUZZER)
moduleConfig.external_notification.enabled = true;
moduleConfig.external_notification.output_buzzer = PIN_BUZZER;
moduleConfig.external_notification.alert_message_buzzer = true;
moduleConfig.external_notification.nag_timeout = 60;
#endif
#if defined(RAK4630) || defined(RAK11310)
// Default to RAK led pin 2 (blue)
moduleConfig.external_notification.enabled = true;