adding max fan boost which is stronger than just on (#6)

This commit is contained in:
John Pavlick
2026-07-04 13:24:57 -06:00
committed by GitHub
parent 15027876ac
commit f1fa98a931

View File

@@ -32,6 +32,8 @@ int main(int argc, char *argv[]) {
pattern = 1;
else if (strcmp(argv[2], "off") == 0)
pattern = 0;
else if (strcmp(argv[2], "max") == 0)
pattern = 3;
else {
fprintf(stderr, "Invalid fan state '%s'. Use 'on' or 'off'.\n", argv[2]);
return EXIT_FAILURE;