Plane: fixed a build warning

This commit is contained in:
Andrew Tridgell 2012-12-20 22:42:44 +11:00
parent feca411943
commit dc2b11704f

View File

@ -115,11 +115,11 @@ static void update_events(void)
}
break;
#if CONFIG_RELAY == ENABLED
case EVENT_TYPE_RELAY:
#if CONFIG_RELAY == ENABLED
relay.toggle();
break;
#endif
break;
}
if (event_state.repeat > 0) {