mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
[bebop] ignore some unused result warnings and add to conf_tests
This commit is contained in:
@@ -351,6 +351,17 @@
|
||||
settings_modules=""
|
||||
gui_color="blue"
|
||||
/>
|
||||
<aircraft
|
||||
name="bebop"
|
||||
ac_id="202"
|
||||
airframe="airframes/bebop.xml"
|
||||
radio="radios/cockpitSX.xml"
|
||||
telemetry="telemetry/default_rotorcraft.xml"
|
||||
flight_plan="flight_plans/rotorcraft_basic.xml"
|
||||
settings="settings/rotorcraft_basic.xml settings/control/rotorcraft_guidance.xml settings/control/stabilization_rate.xml settings/control/stabilization_att_int.xml"
|
||||
settings_modules=""
|
||||
gui_color="red"
|
||||
/>
|
||||
<aircraft
|
||||
name="krooz_quad"
|
||||
ac_id="23"
|
||||
|
||||
@@ -64,6 +64,9 @@ static bool_t _write(int fd, char *data, uint8_t cnt)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||
|
||||
/**
|
||||
* Initialisation of the Aptina MT9V117 CMOS sensor
|
||||
*/
|
||||
@@ -430,3 +433,5 @@ void mt9f002_init(void)
|
||||
write(fd_i2c, "\1\0\1", 3);
|
||||
close(fd_i2c);
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic pop /* end disable -Wunused-result */
|
||||
|
||||
Reference in New Issue
Block a user