add missing #ifndef to protect header files
[protos/xbee-avr.git] / cmdline.h
index 724f5ef..58798a3 100644 (file)
--- a/cmdline.h
+++ b/cmdline.h
  *
  */
 
+#ifndef _CMDLINE_H_
+#define _CMDLINE_H_
 
-#define CMDLINE_UART 0
-#define XBEE_UART 2
+#define CMDLINE_UART 1
+#define XBEE_UART 0
 
 void cmdline_init(void);
 
@@ -55,3 +57,5 @@ static inline uint8_t cmdline_getchar_wait(void)
 {
        return uart_recv(CMDLINE_UART);
 }
+
+#endif /* _CMDLINE_H_ */