Tiva TimerLib: Fix a typo in peripheral waiting logic: gptm, not gpio. From Bradley Noyes

This commit is contained in:
Gregory Nutt 2015-03-10 12:16:40 -06:00
parent 522462a1b1
commit 3e5d0f8c7e

View File

@ -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 */