Skip to content

Commit

Permalink
quantum: led: mark led_update_ports as weak
Browse files Browse the repository at this point in the history
  • Loading branch information
t-8ch committed Aug 31, 2022
1 parent a442442 commit 42fa8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/led.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ __attribute__((weak)) bool led_update_kb(led_t led_state) {

/** \brief Write LED state to hardware
*/
void led_update_ports(led_t led_state) {
__attribute__((weak)) void led_update_ports(led_t led_state) {
#if LED_PIN_ON_STATE == 0
// invert the whole thing to avoid having to conditionally !led_state.x later
led_state.raw = ~led_state.raw;
Expand Down

0 comments on commit 42fa8dd

Please sign in to comment.