git.droids-corp.org
/
protos
/
xbee-avr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add missing #ifndef to protect header files
[protos/xbee-avr.git]
/
cmdline.h
diff --git
a/cmdline.h
b/cmdline.h
index
3b8bf50
..
58798a3
100644
(file)
--- a/
cmdline.h
+++ b/
cmdline.h
@@
-20,6
+20,8
@@
*
*/
+#ifndef _CMDLINE_H_
+#define _CMDLINE_H_
#define CMDLINE_UART 1
#define XBEE_UART 0
@@
-55,3
+57,5
@@
static inline uint8_t cmdline_getchar_wait(void)
{
return uart_recv(CMDLINE_UART);
}
+
+#endif /* _CMDLINE_H_ */