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