PR Comments

This commit is contained in:
sje-mse 2024-05-30 08:28:37 -04:00
parent e4fdb99709
commit 32403d0c53
2 changed files with 29 additions and 2 deletions

View 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

View File

@ -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();
}