AP_Parachute: Change to Boolean value

This commit is contained in:
muramura 2023-09-24 18:01:06 +09:00 committed by Randy Mackay
parent 87f4509472
commit e25d4dcad5
1 changed files with 2 additions and 2 deletions

View File

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