mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 09:58:23 +08:00
[bebop] ignore some unused result warnings and add to conf_tests
This commit is contained in:
@@ -351,6 +351,17 @@
|
|||||||
settings_modules=""
|
settings_modules=""
|
||||||
gui_color="blue"
|
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
|
<aircraft
|
||||||
name="krooz_quad"
|
name="krooz_quad"
|
||||||
ac_id="23"
|
ac_id="23"
|
||||||
|
|||||||
@@ -64,6 +64,9 @@ static bool_t _write(int fd, char *data, uint8_t cnt)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialisation of the Aptina MT9V117 CMOS sensor
|
* Initialisation of the Aptina MT9V117 CMOS sensor
|
||||||
*/
|
*/
|
||||||
@@ -430,3 +433,5 @@ void mt9f002_init(void)
|
|||||||
write(fd_i2c, "\1\0\1", 3);
|
write(fd_i2c, "\1\0\1", 3);
|
||||||
close(fd_i2c);
|
close(fd_i2c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma GCC diagnostic pop /* end disable -Wunused-result */
|
||||||
|
|||||||
Reference in New Issue
Block a user