Minor stylistic fixes in vectornav and nps (#2321)

This commit is contained in:
Michal Podhradsky
2018-09-09 01:49:58 -07:00
committed by Gautier Hattenberger
parent de839dc76d
commit 929438c1eb
3 changed files with 1 additions and 8 deletions
+1 -1
View File
@@ -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