fl16: Signal bios mode also via capslock LED

Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
Daniel Schaefer 2023-11-21 15:05:17 +08:00
parent 503255e33c
commit 67be5557fb
2 changed files with 6 additions and 0 deletions

View File

@ -70,11 +70,13 @@ void handle_factory_command(uint8_t *data) {
// Red // Red
rgb_matrix_sethsv_noeeprom(0, 0xFF, 0xFF); rgb_matrix_sethsv_noeeprom(0, 0xFF, 0xFF);
rgb_matrix_mode_noeeprom(1); rgb_matrix_mode_noeeprom(1);
writePin(GP24, 1);
} else { } else {
// White // White
rgb_matrix_sethsv_noeeprom(0, 0, 0xFF); rgb_matrix_sethsv_noeeprom(0, 0, 0xFF);
rgb_matrix_mode_noeeprom(1); rgb_matrix_mode_noeeprom(1);
bios_mode = false; bios_mode = false;
writePin(GP24, 0);
} }
break; break;
case f_factory_mode: case f_factory_mode:

View File

@ -232,3 +232,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return true; // Process all other keycodes normally return true; // Process all other keycodes normally
} }
} }
bool led_update_kb(led_t led_state) {
return false;
}