mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-02 08:00:38 +00:00
Delete ringtone.proto file for factory reset (#7303)
This commit is contained in:
@@ -364,7 +364,6 @@ ExternalNotificationModule::ExternalNotificationModule()
|
||||
memset(rtttlConfig.ringtone, 0, sizeof(rtttlConfig.ringtone));
|
||||
// The default ringtone is always loaded from userPrefs.jsonc
|
||||
strncpy(rtttlConfig.ringtone, USERPREFS_RINGTONE, sizeof(rtttlConfig.ringtone));
|
||||
rtttlConfig.ringtone[sizeof(rtttlConfig.ringtone) - 1] = '\0'; // Ensure null termination
|
||||
}
|
||||
|
||||
LOG_INFO("Init External Notification Module");
|
||||
|
||||
Reference in New Issue
Block a user