changed for STM32F4
Fork of FastPWM by
Diff: Device/FastPWM_STM_TIM_PinOut.cpp
- Revision:
- 25:0014e85fe8b8
- Parent:
- 24:1f451660d8c0
diff -r 1f451660d8c0 -r 0014e85fe8b8 Device/FastPWM_STM_TIM_PinOut.cpp --- a/Device/FastPWM_STM_TIM_PinOut.cpp Sat Jun 20 20:03:16 2015 +0000 +++ b/Device/FastPWM_STM_TIM_PinOut.cpp Sun Aug 09 20:24:55 2015 +0000 @@ -23,7 +23,7 @@ } #endif -#if defined TARGET_NUCLEO_F401RE || defined TARGET_NUCLEO_F411RE +#if defined TARGET_NUCLEO_F401RE || defined TARGET_NUCLEO_F411RE || defined TARGET_ARCH_MAX __IO uint32_t* getChannel(TIM_TypeDef* pwm, PinName pin) { switch (pin) { // Channels 1 : PWMx/1