mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Tiva TimerLib: Fix a typo in peripheral waiting logic: gptm, not gpio. From Bradley Noyes
This commit is contained in:
@@ -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 */
|
/* 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 */
|
/* Reset the timer to be certain that it is in the disabled state */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user