Copter: rename landing_gear.pde
This commit is contained in:
parent
62b5f32643
commit
5f3c2bcd11
@ -19,7 +19,7 @@ static void landinggear_update(){
|
||||
|
||||
// send event message to datalog if status has changed
|
||||
if (landinggear.deployed() != last_deploy_status){
|
||||
if (landinggear.deployed()){
|
||||
if (landinggear.deployed()) {
|
||||
Log_Write_Event(DATA_LANDING_GEAR_DEPLOYED);
|
||||
} else {
|
||||
Log_Write_Event(DATA_LANDING_GEAR_RETRACTED);
|
||||
@ -29,4 +29,3 @@ static void landinggear_update(){
|
||||
last_deploy_status = landinggear.deployed();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user