1
0
Fork 0

Remove UNUSED_PINS (#17931)

This commit is contained in:
Nick Brassel 2022-08-06 23:23:35 +10:00 committed by GitHub
parent 820371c31b
commit 154d35ac14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1537 changed files with 27 additions and 1597 deletions

View file

@ -199,8 +199,8 @@ void keyboard_pre_init_kb(void) {
* pathways to ground. If you're messing with this, know this: driving ANY
* of these pins high will cause a short. On the MCU. Ka-blooey.
*/
#ifdef UNUSED_PINS
const pin_t unused_pins[] = UNUSED_PINS;
#ifdef UNUSABLE_PINS
const pin_t unused_pins[] = UNUSABLE_PINS;
for (uint8_t i = 0; i < (sizeof(unused_pins) / sizeof(pin_t)); i++) {
setPinOutput(unused_pins[i]);