diff options
author | Nao Pross <naopross@thearcway.org> | 2018-02-23 11:51:01 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-02-23 11:51:01 +0100 |
commit | c3818d4309e99e36b5cd2158966f0ed27a429e06 (patch) | |
tree | 7ec83bd89dc592e0e94431bffa6738ecf43d1208 /src/rs232.h | |
parent | Add const to MIDI pkt pointer arguments (diff) | |
download | Xilofono-c3818d4309e99e36b5cd2158966f0ed27a429e06.tar.gz Xilofono-c3818d4309e99e36b5cd2158966f0ed27a429e06.zip |
Fix rs232 interface for MIDI serial
Diffstat (limited to 'src/rs232.h')
-rw-r--r-- | src/rs232.h | 11 |
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 */ |