summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/mods/pybuart.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc3200/mods/pybuart.h')
-rw-r--r--cc3200/mods/pybuart.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc3200/mods/pybuart.h b/cc3200/mods/pybuart.h
index e628b2903b..44660aabe4 100644
--- a/cc3200/mods/pybuart.h
+++ b/cc3200/mods/pybuart.h
@@ -25,6 +25,9 @@
* THE SOFTWARE.
*/
+#ifndef PYBUART_H_
+#define PYBUART_H_
+
typedef enum {
PYB_UART_NONE = -1,
PYB_UART_0 = 0,
@@ -43,3 +46,4 @@ bool uart_tx_char(pyb_uart_obj_t *self, int c);
bool uart_tx_strn(pyb_uart_obj_t *uart_obj, const char *str, uint len);
void uart_tx_strn_cooked(pyb_uart_obj_t *uart_obj, const char *str, uint len);
+#endif // PYBUART_H_