Add int parameter to xiaomi-display-feature

This commit is contained in:
Pierre-Hugues Husson 2020-03-11 13:56:41 +01:00 committed by tboy1991
parent 01c1eb1c40
commit 5aed09c09a

View File

@ -33,6 +33,8 @@ int main(int argc, char **argv) {
mode = 9;
if(modeArg == "HIGHLIGHT")
mode = 11;
else
mode = atoi(argv[1]);
svc->setFeature(0, mode, atoi(argv[2]), 255);
}