mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 03:19:24 +00:00
PR Comments
This commit is contained in:
parent
e4fdb99709
commit
32403d0c53
27
keyboards/ibm/model_m/yacobo/config.h
Normal file
27
keyboards/ibm/model_m/yacobo/config.h
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
Copyright 2024 Stephen Edwards
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Adapted from the Model H Project by Jonathan Hawthorn.
|
||||
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* Yacobo customizations */
|
||||
|
||||
/* The status LED on the Blue Pill. */
|
||||
#define BLUE_PILL_STATUS_LED C13
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
void keyboard_pre_init_kb(void) {
|
||||
gpio_set_pin_output(C13);
|
||||
gpio_write_pin(C13, 0);
|
||||
gpio_set_pin_output(BLUE_PILL_STATUS_LED);
|
||||
gpio_write_pin(BLUE_PILL_STATUS_LED, 0);
|
||||
keyboard_pre_init_user();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user