mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 09:16:11 +00:00
Remove commit for RM Keys
This commit is contained in:
parent
8931db5685
commit
e233ad903f
@ -51,7 +51,7 @@ int setMRKey(LedKeyboard &kbd, std::string arg2, bool commit = true) {
|
||||
if (! utils::parseUInt8(arg2, value)) return 1;
|
||||
if (! kbd.open()) return 1;
|
||||
if (! kbd.setMRKey(value)) return 1;
|
||||
if (commit) if(! kbd.commit()) return 1;
|
||||
//if (commit) if(! kbd.commit()) return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -60,7 +60,7 @@ int setMNKey(LedKeyboard &kbd, std::string arg2, bool commit = true) {
|
||||
if (! utils::parseUInt8(arg2, value)) return 1;
|
||||
if (! kbd.open()) return 1;
|
||||
if (! kbd.setMNKey(value)) return 1;
|
||||
if (commit) if(! kbd.commit()) return 1;
|
||||
//if (commit) if(! kbd.commit()) return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user