GrumpyOldPizza / arduino-STM32L4

69 stars 61 forks source link

if timer test wrong in stm32l4_timer.c #1

Closed manitou48 closed 8 years ago

manitou48 commented 8 years ago

in stm32l4_timer.c, see if ((timer->instance >= TIMER_INSTANCE_TIM2) && (timer->instance >= TIMER_INSTANCE_TIM7))

2nd condition should be <=

GrumpyOldPizza commented 8 years ago

Fixed. Nice catch.

https://github.com/GrumpyOldPizza/arduino-STM32L4/commit/e453ebe5adc75dca09ef120f8ae0a3a558bda575