mirror of https://github.com/ArduPilot/ardupilot
AP_FlashStorage: Fix some typos
Fixed some typos found in the code.
This commit is contained in:
parent
c6dfbbd9a4
commit
8fc03e73c4
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue