Skip to content

Commit c3bc126

Browse files
authored
Fix return value of the erase function
1 parent 4e9257b commit c3bc126

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

esp_nvs_tc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ bool esp_nvs_tc_coeff_erase() {
4444
return true;
4545
}
4646

47-
return true;
47+
return false;
4848
}
4949

5050
void esp_nvs_tc_coeff_save_cb(lv_tc_coeff_t coeff) {
@@ -58,4 +58,4 @@ void esp_nvs_tc_coeff_save_cb(lv_tc_coeff_t coeff) {
5858
}
5959

6060

61-
#endif
61+
#endif

0 commit comments

Comments
 (0)