Tiva TimerLib: Fix a typo in peripheral waiting logic: gptm, not gpio. From Bradley Noyes
This commit is contained in:
parent
522462a1b1
commit
3e5d0f8c7e
@ -1732,7 +1732,7 @@ TIMER_HANDLE tiva_gptm_configure(const struct tiva_gptmconfig_s *config)
|
||||
|
||||
/* Wait for the gptm to become ready before modifying its registers */
|
||||
|
||||
while (!tiva_gpio_periphrdy(config->gptm));
|
||||
while (!tiva_gptm_periphrdy(config->gptm));
|
||||
|
||||
/* Reset the timer to be certain that it is in the disabled state */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user