mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 01:04:19 +08:00
minor HIL related tweaks
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user