Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
convert refresh rate from Hz to mHz after parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
jampe authored and emersion committed Aug 13, 2019
1 parent 33e39a4 commit d4a3c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ static bool parse_mode(struct kanshi_profile_output *output, char *str) {
fprintf(stderr, "invalid output mode: invalid refresh rate\n");
return false;
}
output->mode.refresh = v;
output->mode.refresh = v * 1000;
}

return true;
Expand Down

0 comments on commit d4a3c5b

Please sign in to comment.