Skip to content

Commit

Permalink
Enabled AUX3 for LED
Browse files Browse the repository at this point in the history
used for the from LEDs of the HOVERCAR
  • Loading branch information
EFeru committed Mar 14, 2020
1 parent 2f37b8b commit c703b30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ int main(void)
if (Feedback.cmdLed & LED3_SET) { gpio_bit_set(LED3_GPIO_Port, LED3_Pin); } else { gpio_bit_reset(LED3_GPIO_Port, LED3_Pin); }
if (Feedback.cmdLed & LED4_SET) { gpio_bit_set(LED4_GPIO_Port, LED4_Pin); } else { gpio_bit_reset(LED4_GPIO_Port, LED4_Pin); }
if (Feedback.cmdLed & LED5_SET) { gpio_bit_set(LED5_GPIO_Port, LED5_Pin); } else { gpio_bit_reset(LED5_GPIO_Port, LED5_Pin); }
if (Feedback.cmdLed & LED4_SET) { gpio_bit_set(AUX3_GPIO_Port, AUX3_Pin); } else { gpio_bit_reset(AUX3_GPIO_Port, AUX3_Pin); }
}
#endif

Expand Down

0 comments on commit c703b30

Please sign in to comment.