mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
OP-1119 Bug fixin
This commit is contained in:
parent
71ec5a9a64
commit
d41f99aca8
@ -121,7 +121,7 @@ void FlightLogManager::retrieveLogs(int flightToRetrieve) {
|
||||
|
||||
// Prepare to send request for event retrieval
|
||||
m_flightLogControl->setOperation(DebugLogControl::OPERATION_RETRIEVE);
|
||||
for(int flight = startFlight; flight < endFlight; flight++) {
|
||||
for(int flight = startFlight; flight <= endFlight; flight++) {
|
||||
m_flightLogControl->setFlight(flight);
|
||||
bool gotLast = false;
|
||||
int entry = 0;
|
||||
|
@ -70,7 +70,7 @@ AbstractUAVObjectHelper::Result AbstractUAVObjectHelper::doObjectAndWait(UAVObje
|
||||
if (!m_transactionCompleted) {
|
||||
return TIMEOUT;
|
||||
} else {
|
||||
return (m_transactionResult != true) ? SUCCESS : FAIL;
|
||||
return m_transactionResult ? SUCCESS : FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user