1
0
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:
Fredrik Arvidsson 2013-11-24 21:47:57 +01:00
parent 71ec5a9a64
commit d41f99aca8
2 changed files with 2 additions and 2 deletions

View File

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

View File

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