|
|
|
@ -19,7 +19,7 @@ static void landinggear_update(){
@@ -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(){
@@ -29,4 +29,3 @@ static void landinggear_update(){
|
|
|
|
|
last_deploy_status = landinggear.deployed(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|