turn on -Werror and fix resulting errors

This commit is contained in:
Daniel Agar
2014-12-22 17:09:43 -05:00
parent d54b46355c
commit d511e39ea7
48 changed files with 95 additions and 35 deletions
+7
View File
@@ -523,6 +523,9 @@ BottleDrop::task_main()
}
switch (_drop_state) {
case DROP_STATE_INIT:
// do nothing
break;
case DROP_STATE_TARGET_VALID:
{
@@ -689,6 +692,10 @@ BottleDrop::task_main()
orb_publish(ORB_ID(onboard_mission), _onboard_mission_pub, &_onboard_mission);
}
break;
case DROP_STATE_BAY_CLOSED:
// do nothing
break;
}
counter++;