1
0
Fork 0
forked from forks/qmk_firmware

Fixup build failures. (#19332)

This commit is contained in:
Nick Brassel 2022-12-15 09:56:30 +11:00 committed by GitHub
parent 2ea290f5b9
commit 64715084b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -234,6 +234,6 @@ extern "C" {
if (kbd3.isReady()) kbd3.SetReport(0, 0, 2, 0, 1, &usb_led);
if (kbd4.isReady()) kbd4.SetReport(0, 0, 2, 0, 1, &usb_led);
led_set_user(usb_led);
led_update_kb((led_t)usb_led)
led_update_kb((led_t){.raw = usb_led});
}
}

View file

@ -17,7 +17,7 @@
#pragma once
#define I2C1_SDA_PIN GP2
#define I2C1_SCL_PIN GP3
#define I2C_DRIVER I2CD2
#define I2C_DRIVER I2CD1
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U

View file

@ -9,7 +9,7 @@ bool led_update_kb(led_t led_state) {
bool res = led_update_user(led_state);
if(res) {
writePin(B2, !led_state.caps_lock);
writePin(B6, led_state == 0);
writePin(B6, led_state.raw == 0);
}
return res;
}

View file

@ -221,7 +221,7 @@ extern "C"
kbd3.SetReport(0, 0, 2, 0, 1, &usb_led);
kbd4.SetReport(0, 0, 2, 0, 1, &usb_led);
led_set_user(usb_led);
led_update_kb((led_t)usb_led)
led_update_kb((led_t){.raw = usb_led});
}
};