forked from mirror/qmk_firmware
Convert some AVR GPIO operations to macros (#23424)
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
void matrix_init_kb(void) {
|
||||
// put your keyboard start-up code here
|
||||
// runs once when the firmware starts up
|
||||
DDRC |= (1<<6);
|
||||
PORTC &= ~(1<<6);
|
||||
gpio_set_pin_output(C6);
|
||||
gpio_write_pin_low(C6);
|
||||
|
||||
DDRD |= (1<<4);
|
||||
PORTD &= ~(1<<4);
|
||||
gpio_set_pin_output(D4);
|
||||
gpio_write_pin_low(D4);
|
||||
|
||||
matrix_init_user();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user