Skip to content

Commit

Permalink
AP_ServoRelayEvents: Remove constraint on 'channel' value
Browse files Browse the repository at this point in the history
This was preventing proper function of Relay #0, and the intention of
this check was redundant
  • Loading branch information
jaxxzer authored and tridge committed Apr 3, 2017
1 parent 6ec3247 commit 98b7dac
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libraries/AP_ServoRelayEvents/AP_ServoRelayEvents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ void AP_ServoRelayEvents::update_events(void)
return;
}

if (channel > NUM_SERVO_CHANNELS || channel == 0) {
return;
}

start_time_ms = AP_HAL::millis();

switch (type) {
Expand Down

0 comments on commit 98b7dac

Please sign in to comment.