Added pin descriptions for NUCLEO-F303RE. Tested

Fork of FastPWM by Erik -

Revision:
12:4600daab8a83
Parent:
6:0f57969697b6
Child:
18:d91c0629e4e6
diff -r e0a8f0fcb1c9 -r 4600daab8a83 FastPWM_common.cpp
--- a/FastPWM_common.cpp	Wed Jul 16 15:44:21 2014 +0000
+++ b/FastPWM_common.cpp	Sun Jul 20 12:49:21 2014 +0000
@@ -1,6 +1,7 @@
 #include "FastPWM.h"
 
 FastPWM::FastPWM(PinName pin, int prescaler) : PwmOut(pin) {
+    fast_obj = NULL;
     initFastPWM();
     this->prescaler(prescaler);
     
@@ -11,6 +12,11 @@
 
 }
 
+FastPWM::~FastPWM( void ) {
+    if (fast_obj != NULL)
+        delete(fast_obj);
+} 
+
 void FastPWM::period(double seconds) {
     if (dynamicPrescaler)
         calcPrescaler((uint64_t)(seconds * (double) SystemCoreClock));