Treehouse Mbed Team / Mbed 2 deprecated APS_DCM1SL2

Dependencies:   mbed

Revision:
15:aed8f326c949
Parent:
12:fd1fd1857628
Child:
17:454afe56eedb
--- a/inc/adc_defs.h	Sat Dec 08 16:57:27 2018 +0000
+++ b/inc/adc_defs.h	Tue Dec 11 16:59:21 2018 +0000
@@ -26,6 +26,9 @@
 // 
 //-------------------------------------------------------------------------------
 
+#ifndef ADC_DEFS_H
+#define ADC_DEFS_H
+
 #include "parameters.h"
 
 const unsigned int ADC_SCALE_FACTOR = ADC_MAX_VALUE/2;
@@ -56,4 +59,6 @@
 */
 #define CURRENT_48_DIV_FACTOR -370
 #define CURRENT_24_DIV_FACTOR -315
-#define CURRENT_12_DIV_FACTOR -330
\ No newline at end of file
+#define CURRENT_12_DIV_FACTOR -330
+
+#endif
\ No newline at end of file