Add int parameter to xiaomi-display-feature
This commit is contained in:
parent
01c1eb1c40
commit
5aed09c09a
@ -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