Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: inc/adc_defs.h
- 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