AP_FlashStorage: Fix some typos

Fixed some typos found in the code.
This commit is contained in:
Mykhailo Kuznietsov 2023-10-11 18:41:52 +11:00 committed by Peter Barker
parent c6dfbbd9a4
commit 8fc03e73c4
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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;