diff --git a/keyboards/ibm/model_m/yacobo/config.h b/keyboards/ibm/model_m/yacobo/config.h new file mode 100644 index 00000000000..78101a18ee6 --- /dev/null +++ b/keyboards/ibm/model_m/yacobo/config.h @@ -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 . + +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 diff --git a/keyboards/ibm/model_m/yacobo/yacobo.c b/keyboards/ibm/model_m/yacobo/yacobo.c index 501047d0d46..371d08478ce 100644 --- a/keyboards/ibm/model_m/yacobo/yacobo.c +++ b/keyboards/ibm/model_m/yacobo/yacobo.c @@ -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(); }