[Closed] Error in cores/arduino/HardwareTimer.cpp

Post Reply
mlundin
Posts: 94
Joined: Wed Nov 04, 2020 1:20 pm
Answers: 6
Location: Sweden

[Closed] Error in cores/arduino/HardwareTimer.cpp

Post by mlundin »

I think there is a typo in cores/arduino/HardwareTimer.cpp line 1251

Code: Select all

#if defined(TIM22_BASE)
  if (instance == TIM22) {
    index = TIMER2_INDEX;
  }
#endif
this should probably be

Code: Select all

#if defined(TIM22_BASE)
  if (instance == TIM22) {
    index = TIMER22_INDEX;
  }
#endif
Last edited by mlundin on Thu Dec 03, 2020 8:44 pm, edited 1 time in total.
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Error in cores/arduino/HardwareTimer.cpp

Post by fpiSTM »

Post Reply

Return to “PR's bugs and enhancements”