Add int parameter to xiaomi-display-feature
This commit is contained in:
parent
bfa94e3fd7
commit
cca9f3c06b
@ -33,6 +33,8 @@ int main(int argc, char **argv) {
|
|||||||
mode = 9;
|
mode = 9;
|
||||||
if(modeArg == "HIGHLIGHT")
|
if(modeArg == "HIGHLIGHT")
|
||||||
mode = 11;
|
mode = 11;
|
||||||
|
else
|
||||||
|
mode = atoi(argv[1]);
|
||||||
|
|
||||||
svc->setFeature(0, mode, atoi(argv[2]), 255);
|
svc->setFeature(0, mode, atoi(argv[2]), 255);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user