11th feb i2c checking chaitu's code

Dependencies:   SimpleDMA eeprom mbed-rtos mbed

Fork of CDMS_CODE_FM_28JAN2017 by samp Srinivasan

Revision:
338:d63eb331a67d
Parent:
245:da9d1bd999da
--- 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