@@ -2103,7 +2103,7 @@ int pref_begin(const uint8_t command[], uint8_t response[])
2103
2103
const uint8_t * command_ptr = &command[3 ];
2104
2104
2105
2105
if (nargs < 1 && nargs > 3 ) {
2106
- ESP_LOGE (PREF_TAG, " Prefrences begin wrong number of arguments" );
2106
+ ESP_LOGE (PREF_TAG, " Preferences begin wrong number of arguments" );
2107
2107
response[4 ] = 255 ;
2108
2108
goto error;
2109
2109
}
@@ -2183,7 +2183,7 @@ int pref_remove(const uint8_t command[], uint8_t response[])
2183
2183
const uint8_t * command_ptr = &command[3 ];
2184
2184
2185
2185
if (nargs != 1 ) {
2186
- ESP_LOGE (PREF_TAG, " Prefrences remove wrong number of arguments" );
2186
+ ESP_LOGE (PREF_TAG, " Preferences remove wrong number of arguments" );
2187
2187
response[4 ] = 255 ;
2188
2188
goto error;
2189
2189
}
@@ -2221,7 +2221,7 @@ int pref_len(const uint8_t command[], uint8_t response[])
2221
2221
uint32_t len = 0 ;
2222
2222
2223
2223
if (nargs != 1 ) {
2224
- ESP_LOGE (PREF_TAG, " Prefrences length wrong number of arguments" );
2224
+ ESP_LOGE (PREF_TAG, " Preferences length wrong number of arguments" );
2225
2225
response[2 ] = 1 ;
2226
2226
response[3 ] = 1 ;
2227
2227
response[4 ] = 255 ;
@@ -2295,7 +2295,7 @@ int pref_put(const uint8_t command[], uint8_t response[])
2295
2295
size_t res = 0 ;
2296
2296
2297
2297
if (nargs != 3 ) {
2298
- ESP_LOGE (PREF_TAG, " Prefrences put wrong number of arguments" );
2298
+ ESP_LOGE (PREF_TAG, " Preferences put wrong number of arguments" );
2299
2299
response[2 ] = 1 ;
2300
2300
response[3 ] = 1 ;
2301
2301
response[4 ] = 255 ;
@@ -2357,7 +2357,7 @@ int pref_put(const uint8_t command[], uint8_t response[])
2357
2357
break ;
2358
2358
case PT_INVALID:
2359
2359
default :
2360
- ESP_LOGE (PREF_TAG, " Prefrences put invalid type" );
2360
+ ESP_LOGE (PREF_TAG, " Preferences put invalid type" );
2361
2361
response[2 ] = 1 ;
2362
2362
response[3 ] = 1 ;
2363
2363
response[4 ] = 254 ;
@@ -2398,7 +2398,7 @@ int pref_get(const uint8_t command[], uint8_t response[])
2398
2398
uint32_t res=0 ;
2399
2399
2400
2400
if (nargs != 2 ) {
2401
- ESP_LOGE (PREF_TAG, " Prefrences put wrong number of arguments" );
2401
+ ESP_LOGE (PREF_TAG, " Preferences put wrong number of arguments" );
2402
2402
response[2 ] = 1 ;
2403
2403
response[3 ] = 0 ;
2404
2404
return 5 ;
@@ -2457,7 +2457,7 @@ int pref_get(const uint8_t command[], uint8_t response[])
2457
2457
goto array_return;
2458
2458
case PT_INVALID:
2459
2459
default :
2460
- ESP_LOGE (PREF_TAG, " Prefrences put invalid type" );
2460
+ ESP_LOGE (PREF_TAG, " Preferences put invalid type" );
2461
2461
response[2 ] = 1 ;
2462
2462
response[3 ] = 0 ;
2463
2463
return 5 ;
0 commit comments