Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Max committed Jan 20, 2024
1 parent 77e1e61 commit 29dd1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/base-fw/main/GPIO.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void GPIO_Init()
// Initialize motor driver
mcpwm_gpio_init(MCPWM_UNIT_1, MCPWM1A, HWCONFIG_SERVOMOTOR_PIN);
mcpwm_config_t servo_config;
servo_config.frequency = 50; // Frequency = 1000Hz,
servo_config.frequency = 50; // Frequency = 50Hz,
servo_config.cmpr_a = 0; // Duty cycle of PWMxA = 0
servo_config.cmpr_b = 0; // Duty cycle of PWMxb = 0
servo_config.counter_mode = MCPWM_UP_COUNTER;
Expand Down

0 comments on commit 29dd1a7

Please sign in to comment.