Simple mbed library with macros
Dependents: SimpleTimer SimpleUART SimpleTimer Stoppuhr1
Revision 18:aa026d9f7fc0, committed 2010-11-17
- Comitter:
- Alkorin
- Date:
- Wed Nov 17 14:35:40 2010 +0000
- Parent:
- 17:36a0cb1929c2
- Child:
- 19:f4f258dc34cf
- Commit message:
- Changed #define header to avoid conflict with other .h files
Changed in this revision
--- a/interrupts.h Wed Nov 17 10:59:34 2010 +0000 +++ b/interrupts.h Wed Nov 17 14:35:40 2010 +0000 @@ -31,8 +31,8 @@ * knowledge of the CeCILL license and that you accept its terms. */ -#ifndef __INTERRUPTS_H__ -#define __INTERRUPTS_H__ +#ifndef __SIMPLELIB_INTERRUPTS_H__ +#define __SIMPLELIB_INTERRUPTS_H__ #include "mbed_globals.h"
--- a/leds.h Wed Nov 17 10:59:34 2010 +0000 +++ b/leds.h Wed Nov 17 14:35:40 2010 +0000 @@ -31,8 +31,8 @@ * knowledge of the CeCILL license and that you accept its terms. */ -#ifndef __LEDS_H__ -#define __LEDS_H__ +#ifndef __SIMPLELIB_LEDS_H__ +#define __SIMPLELIB_LEDS_H__ #include "mbed_globals.h"
--- a/mbed_globals.h Wed Nov 17 10:59:34 2010 +0000 +++ b/mbed_globals.h Wed Nov 17 14:35:40 2010 +0000 @@ -31,8 +31,8 @@ * knowledge of the CeCILL license and that you accept its terms. */ -#ifndef __MBED_GLOBALS_H__ -#define __MBED_GLOBALS_H__ +#ifndef __SIMPLELIB_MBED_GLOBALS_H__ +#define __SIMPLELIB_MBED_GLOBALS_H__ #include <LPC17xx.h>
--- a/serial.h Wed Nov 17 10:59:34 2010 +0000 +++ b/serial.h Wed Nov 17 14:35:40 2010 +0000 @@ -31,8 +31,8 @@ * knowledge of the CeCILL license and that you accept its terms. */ -#ifndef __SERIAL_H__ -#define __SERIAL_H__ +#ifndef __SIMPLELIB_SERIAL_H__ +#define __SIMPLELIB_SERIAL_H__ #include "mbed_globals.h" #include "interrupts.h"
--- a/timers.h Wed Nov 17 10:59:34 2010 +0000 +++ b/timers.h Wed Nov 17 14:35:40 2010 +0000 @@ -31,8 +31,8 @@ * knowledge of the CeCILL license and that you accept its terms. */ -#ifndef __TIMERS_H__ -#define __TIMERS_H__ +#ifndef __SIMPLELIB_TIMERS_H__ +#define __SIMPLELIB_TIMERS_H__ #include "mbed_globals.h" #include "interrupts.h"