Skip to content

Commit

Permalink
make lora respect time since last change
Browse files Browse the repository at this point in the history
  • Loading branch information
yasiupl committed Jul 20, 2020
1 parent 5176e15 commit ade8690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/director.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void Flight::tick()
int LoRaPhase = (int)sensors.getStardustFlightStatus();
if ((LoRaPhase > flight.phase) && (LoRaPhase >= 0) && (LoRaPhase <= 4))
{
flight.phase = LoRaPhase;
nextPhase();
reason = REASON_LORA;
}
}
Expand Down

0 comments on commit ade8690

Please sign in to comment.