Skip to content

Commit fb300d9

Browse files
committed
Clear wording for confirmation when resetting data
1 parent 263b517 commit fb300d9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ void config_settings_reset_all(void)
246246
static bool reset_confirm = false;
247247
if (!reset_confirm)
248248
{
249-
printk("Resetting device settings will clear all user-defined settings to the firmware defaults. Are you sure?\n");
249+
printk("Resetting device settings will clear all user-defined settings to the firmware defaults. Please resend the command to confirm.\n");
250250
reset_confirm = true;
251251
return;
252252
}

src/system/battery_tracker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ void sys_reset_battery_tracker(void)
544544
static bool reset_confirm = false;
545545
if (!reset_confirm)
546546
{
547-
printk("Resetting battery tracker will clear all battery calibration data. Are you sure?\n");
547+
printk("Resetting battery tracker will clear all battery calibration data. Please resend the command to confirm.\n");
548548
reset_confirm = true;
549549
return;
550550
}

src/system/system.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ void sys_clear(void)
245245
static bool reset_confirm = false;
246246
if (!reset_confirm)
247247
{
248-
printk("Resetting NVS and retained will clear all pairing, sensor calibration data, and battery calibration data. Are you sure?\n");
248+
printk("Resetting NVS and retained will clear all pairing, sensor calibration data, and battery calibration data. Please resend the command to confirm.\n");
249249
reset_confirm = true;
250250
return;
251251
}

0 commit comments

Comments
 (0)