Convert some AVR GPIO operations to macros (#23424)
This commit is contained in:
@@ -99,8 +99,8 @@ led_config_t g_led_config = { {
|
||||
void matrix_init_kb(void) {
|
||||
|
||||
// Turn status LED on
|
||||
DDRD |= (1<<6);
|
||||
PORTD |= (1<<6);
|
||||
gpio_set_pin_output(D6);
|
||||
gpio_write_pin_high(D6);
|
||||
|
||||
matrix_init_user();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user