From 8fc03e73c489719a6e75995f5b20b072400fa45a Mon Sep 17 00:00:00 2001 From: Mykhailo Kuznietsov Date: Wed, 11 Oct 2023 18:41:52 +1100 Subject: [PATCH] AP_FlashStorage: Fix some typos Fixed some typos found in the code. --- libraries/AP_FlashStorage/AP_FlashStorage.cpp | 2 +- libraries/AP_FlashStorage/AP_FlashStorage.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_FlashStorage/AP_FlashStorage.cpp b/libraries/AP_FlashStorage/AP_FlashStorage.cpp index a8f99670d6..b53960f44b 100644 --- a/libraries/AP_FlashStorage/AP_FlashStorage.cpp +++ b/libraries/AP_FlashStorage/AP_FlashStorage.cpp @@ -152,7 +152,7 @@ bool AP_FlashStorage::switch_full_sector(void) } // protected_switch_full_sector is protected by switch_full_sector to -// avoid an infinite recursion problem; switch_full_sectory calls +// avoid an infinite recursion problem; switch_full_sector calls // write() which can call switch_full_sector. This has been seen in // practice, and while it might be caused by corruption... corruption // happens. diff --git a/libraries/AP_FlashStorage/AP_FlashStorage.h b/libraries/AP_FlashStorage/AP_FlashStorage.h index b4cb1afd71..0f9b6fe3b7 100644 --- a/libraries/AP_FlashStorage/AP_FlashStorage.h +++ b/libraries/AP_FlashStorage/AP_FlashStorage.h @@ -236,7 +236,7 @@ private: bool switch_sectors(void) WARN_IF_UNUSED; // _switch_full_sector is protected by switch_full_sector to avoid - // an infinite recursion problem; switch_full_sectory calls + // an infinite recursion problem; switch_full_sector calls // write() which can call switch_full_sector. This has been seen // in practice. bool protected_switch_full_sector(void) WARN_IF_UNUSED;