minor HIL related tweaks

This commit is contained in:
Lorenz Meier
2012-11-12 21:08:51 +01:00
parent 7d8d7a76b9
commit e9942e4af7
3 changed files with 5 additions and 2 deletions
+1
View File
@@ -824,6 +824,7 @@ hil_main(int argc, char *argv[])
// XXX all modes have PWM settings
if (argc > i + 1) {
pwm_update_rate_in_hz = atoi(argv[i + 1]);
printf("pwm update rate: %d Hz\n", pwm_update_rate_in_hz);
} else {
fprintf(stderr, "missing argument for pwm update rate (-u)\n");
return 1;