mirror of
https://github.com/meshtastic/firmware.git
synced 2026-09-29 01:36:26 -04:00
userPrefs: Set default ringtone nag time (#7314)
This commit is contained in:
1 parent
4342d51f5a
commit
86be2ac12f
4 files changed
+12
-6
No files matched your search
@@ -363,7 +363,7 @@ ExternalNotificationModule::ExternalNotificationModule()
|
||||
&meshtastic_RTTTLConfig_msg, &rtttlConfig) != LoadFileResult::LOAD_SUCCESS) {
|
||||
memset(rtttlConfig.ringtone, 0, sizeof(rtttlConfig.ringtone));
|
||||
// The default ringtone is always loaded from userPrefs.jsonc
|
||||
strncpy(rtttlConfig.ringtone, USERPREFS_RINGTONE, sizeof(rtttlConfig.ringtone));
|
||||
strncpy(rtttlConfig.ringtone, USERPREFS_RINGTONE_RTTTL, sizeof(rtttlConfig.ringtone));
|
||||
}
|
||||
|
||||
LOG_INFO("Init External Notification Module");
|
||||
|
||||
Reference in new issue
Block a user