changed for STM32F4
Fork of FastPWM by
Revision 25:0014e85fe8b8, committed 2015-08-09
- Comitter:
- gurh_an
- Date:
- Sun Aug 09 20:24:55 2015 +0000
- Parent:
- 24:1f451660d8c0
- Commit message:
- Hal interface for Linuxcnc 5 axis step/dir - 5 axis encoder - 32 DIO
Changed in this revision
Device/FastPWM_STM_TIM_PinOut.cpp | Show annotated file Show diff for this revision Revisions of this file |
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