mirror of
https://github.com/MatMoul/g810-led.git
synced 2026-10-25 00:18:14 +00:00
Remove commit for RM Keys
This commit is contained in:
1 parent
8931db5685
commit
e233ad903f
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user