arch/mips/src/pic32mz/pic32mz-timer.c: Eliminate a warning found during
testing.
This commit is contained in:
parent
e507ca4696
commit
84153ad1a5
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue