Enter some kind of stand-by state an wait for motors to disarm
Wait for motors to be armed
When armed status is detected, start the flight loop again
Care must be taken that once LAND mode is triggered, the flight loop does not re-activate until the drone has landed and the motors have been re-armed.
The logic should be something like that:
Care must be taken that once LAND mode is triggered, the flight loop does not re-activate until the drone has landed and the motors have been re-armed.