Delete ringtone.proto file for factory reset (#7303)

This commit is contained in:
Ben Meadors
2025-07-11 08:22:50 -05:00
committed by GitHub
parent e9a551ae90
commit 9798a91e7b
2 changed files with 3 additions and 1 deletions

View File

@@ -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");