Add int parameter to xiaomi-display-feature

This commit is contained in:
Pierre-Hugues Husson 2020-03-11 13:56:41 +01:00
parent bfa94e3fd7
commit cca9f3c06b

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);
}