remove Wpacked and cleanup unused warning flags

This commit is contained in:
Daniel Agar
2016-05-19 21:49:34 +02:00
committed by Lorenz Meier
parent f58596bbcd
commit 2487dbfc92
26 changed files with 8 additions and 41 deletions
+1 -1
View File
@@ -1945,7 +1945,7 @@ Sensors::rc_poll()
if (_parameters.rc_map_flightmode > 0) {
/* the number of valid slots equals the index of the max marker minus one */
const unsigned num_slots = manual_control_setpoint_s::MODE_SLOT_MAX;
const int num_slots = manual_control_setpoint_s::MODE_SLOT_MAX;
/* the half width of the range of a slot is the total range
* divided by the number of slots, again divided by two