fixup! fl16: Indicate UEFI hotkey mode by background color
This commit is contained in:
parent
67be5557fb
commit
11a70a11ed
@ -68,13 +68,17 @@ void handle_factory_command(uint8_t *data) {
|
||||
if (command_data[0] == 0x01) {
|
||||
bios_mode = true;
|
||||
// Red
|
||||
#if defined(RGB_MATRIX_ENABLE)
|
||||
rgb_matrix_sethsv_noeeprom(0, 0xFF, 0xFF);
|
||||
rgb_matrix_mode_noeeprom(1);
|
||||
#endif
|
||||
writePin(GP24, 1);
|
||||
} else {
|
||||
// White
|
||||
#if defined(RGB_MATRIX_ENABLE)
|
||||
rgb_matrix_sethsv_noeeprom(0, 0, 0xFF);
|
||||
rgb_matrix_mode_noeeprom(1);
|
||||
#endif
|
||||
bios_mode = false;
|
||||
writePin(GP24, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user