arch/mips/src/pic32mz/pic32mz-timer.c: Eliminate a warning found during

testing.
This commit is contained in:
Ouss4 2020-01-13 22:45:41 +00:00 committed by patacongo
parent e507ca4696
commit 84153ad1a5
1 changed files with 1 additions and 4 deletions

View File

@ -974,7 +974,6 @@ static bool pic32mz_timer_setfreq(FAR struct pic32mz_timer_dev_s *dev,
uint32_t freq)
{
uint16_t prescale;
uint32_t tmrfreq;
DEBUGASSERT(dev != NULL);
@ -1046,9 +1045,7 @@ static bool pic32mz_timer_setfreq(FAR struct pic32mz_timer_dev_s *dev,
return false;
}
tmrfreq = pic32mz_timer_getfreq(dev);
tmrinfo("Timer's frequency set to %luHz\n", tmrfreq);
tmrinfo("Timer's frequency set to %luHz\n", pic32mz_timer_getfreq(dev));
return true;
}