changed for STM32F4

Fork of FastPWM by Erik -

Revision:
15:49a7eff133b3
Parent:
13:cdefd9d75b64
Child:
16:ec208b5ec0bb
diff -r b30038fbba51 -r 49a7eff133b3 Device/FastPWM_STM_TIM_PinOut.cpp
--- a/Device/FastPWM_STM_TIM_PinOut.cpp	Tue Sep 30 19:00:27 2014 +0000
+++ b/Device/FastPWM_STM_TIM_PinOut.cpp	Wed Oct 01 18:20:41 2014 +0000
@@ -23,7 +23,7 @@
 }
 #endif
 
-#ifdef TARGET_NUCLEO_F401RE
+#if defined TARGET_NUCLEO_F401RE || defined TARGET_NUCLEO_F411RE
 __IO uint32_t* getChannel(TIM_TypeDef* pwm, PinName pin) {
     switch (pin) {
         // Channels 1