mirror of https://github.com/ArduPilot/ardupilot
DataFlash: fixed display of last page of flash logs
This commit is contained in:
parent
89f121ea77
commit
99a8ba4634
|
@ -443,7 +443,7 @@ void DataFlash_Block::LogReadProcess(uint16_t log_num,
|
||||||
}
|
}
|
||||||
uint16_t new_page = GetPage();
|
uint16_t new_page = GetPage();
|
||||||
if (new_page != page) {
|
if (new_page != page) {
|
||||||
if (new_page == end_page || new_page == start_page) {
|
if (new_page == end_page+1 || new_page == start_page) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
page = new_page;
|
page = new_page;
|
||||||
|
|
Loading…
Reference in New Issue