FM
Dependencies: SimpleDMA eeprom mbed-rtos mbed FreescaleIAP
Fork of CDMS_CODE by
Diff: dmaSPIslave.h
- Revision:
- 338:d63eb331a67d
- Parent:
- 245:da9d1bd999da
diff -r 163824c3fef1 -r d63eb331a67d dmaSPIslave.h --- a/dmaSPIslave.h Sun Jan 01 09:50:36 2017 +0000 +++ b/dmaSPIslave.h Mon Jan 02 14:21:44 2017 +0000 @@ -1,3 +1,6 @@ +#ifndef DMASPISLAVE_H // To make sure you don't declare the function more than once by including the header multiple times. +#define DMASPISLAVE_H + #ifdef TARGET_KL46Z class dmaSPISlave : public SPISlave{ public: @@ -81,3 +84,4 @@ SimpleDMA read_dma; }; #endif +#endif \ No newline at end of file