From bc407b3613a272ee5f9b12503e38dc2116002a6a Mon Sep 17 00:00:00 2001 From: Faidon Liambotis Date: Sun, 16 Jul 2023 16:18:06 +0300 Subject: [PATCH] Spelling fixes (user-visible) While debugging a few WiFi issues, I got a bunch of "Unkown" errors. Fix this, and an unrelated, but also user-visible s/propery/property/. --- src/hasp/hasp_attribute_helper.h | 2 +- src/lang/en_US.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hasp/hasp_attribute_helper.h b/src/hasp/hasp_attribute_helper.h index ed2863b5..960ae4a3 100644 --- a/src/hasp/hasp_attribute_helper.h +++ b/src/hasp/hasp_attribute_helper.h @@ -921,7 +921,7 @@ static bool attribute_lookup_lv_property(uint16_t hash, uint8_t * prop) for(uint32_t i = 0; i < sizeof(props) / sizeof(props[0]); i++) { if(props[i].hash == hash) { *prop = props[1].prop; - LOG_WARNING(TAG_ATTR, F("%d found and has propery %d"), hash, props[i].prop); + LOG_WARNING(TAG_ATTR, F("%d found and has property %d"), hash, props[i].prop); return true; } } diff --git a/src/lang/en_US.h b/src/lang/en_US.h index 37558021..d9f83733 100644 --- a/src/lang/en_US.h +++ b/src/lang/en_US.h @@ -10,7 +10,7 @@ #define D_NO "No" #define D_ERROR_OUT_OF_MEMORY "Out of memory" -#define D_ERROR_UNKNOWN "Unkown error" +#define D_ERROR_UNKNOWN "Unknown error" #define D_CONFIG_NOT_CHANGED "Settings did not change" #define D_CONFIG_CHANGED "Settings changed"