Move miscellaneous defines to data driven (#21382)

This commit is contained in:
Ryan 2023-07-03 07:40:13 +10:00 committed by GitHub
parent 9ab16e62f7
commit 023035f462
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
69 changed files with 103 additions and 236 deletions

View file

@ -28,8 +28,6 @@ void board_init(void) {
#endif
}
#define LED_PIN_ON_STATE 1
bool led_update_kb(led_t led_state) {
bool res = led_update_user(led_state);
if(res) writePin(LED_CAPS_LOCK_PIN, led_state.caps_lock);