Skip to content

Commit

Permalink
AP_Parachute: Change to Boolean value
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura committed Nov 10, 2023
1 parent 4f34337 commit 38dfab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_Parachute/AP_Parachute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void AP_Parachute::release()
_release_initiated = true;

// update AP_Notify
AP_Notify::flags.parachute_release = 1;
AP_Notify::flags.parachute_release = true;
}

/// update - shuts off the trigger should be called at about 10hz
Expand Down Expand Up @@ -167,7 +167,7 @@ void AP_Parachute::update()
_release_in_progress = false;
_release_time = 0;
// update AP_Notify
AP_Notify::flags.parachute_release = 0;
AP_Notify::flags.parachute_release = false;
}
}

Expand Down

0 comments on commit 38dfab1

Please sign in to comment.