Trial BTreeMap<AuraModeNum, AuraEffect> return for led dbus

This commit is contained in:
Luke D. Jones
2022-07-25 10:26:47 +12:00
parent 79a45c4f10
commit f6183597c9
3 changed files with 13 additions and 13 deletions

View File

@@ -418,8 +418,8 @@ impl CtrlKbdLed {
self.config.read();
// if self.config.builtins.contains_key(&next) {
self.config.current_mode = next;
self.write_current_config_mode()?;
self.config.current_mode = next;
self.write_current_config_mode()?;
// }
self.config.write();
}