Adjust G513Q support to match device specs

This commit is contained in:
Luke D. Jones
2024-05-21 10:11:56 +12:00
parent 00904e9603
commit aee54f5756
7 changed files with 123 additions and 132 deletions

View File

@@ -288,7 +288,8 @@ impl CtrlKbdLed {
// Then replace just incase the initialised data contains new modes added
config_loaded.builtins = config_init.builtins;
// Check the powerzones and replace, if the len is different then the support file was updated
// Check the powerzones and replace, if the len is different then the support
// file was updated
if config_loaded.enabled.states.len() != config_init.enabled.states.len() {
config_loaded.enabled.states = config_init.enabled.states;
}