summaryrefslogtreecommitdiffstats
path: root/src/rs232.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rs232.h')
-rw-r--r--src/rs232.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/rs232.h b/src/rs232.h
index 06866ba..cb59df0 100644
--- a/src/rs232.h
+++ b/src/rs232.h
@@ -8,18 +8,13 @@
#ifndef RS232_H
#define RS232_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-extern void eusart_init(void);
+extern void eusart1_init(void);
+extern void eusart2_init(void);
+
extern void putch(char c);
extern char getch(void);
extern char getche(void);
-#ifdef __cplusplus
-}
-#endif
-
#endif /* RS232_H */