mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 11:37:06 +08:00
Minor stylistic fixes in vectornav and nps (#2321)
This commit is contained in:
committed by
Gautier Hattenberger
parent
de839dc76d
commit
929438c1eb
@@ -157,8 +157,8 @@ void nps_autopilot_run_step(double time)
|
||||
float dist = (float) sensors.sonar.value;
|
||||
AbiSendMsgAGL(AGL_SONAR_NPS_ID, dist);
|
||||
|
||||
uint16_t foo = 0;
|
||||
#ifdef SENSOR_SYNC_SEND_SONAR
|
||||
uint16_t foo = 0;
|
||||
DOWNLINK_SEND_SONAR(DefaultChannel, DefaultDevice, &foo, &dist);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user