diff options
author | tmk <nobody@nowhere> | 2014-07-17 13:06:48 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2014-07-30 14:38:26 +0900 |
commit | fa545c87f74833856761572ef631d20accc1d026 (patch) | |
tree | 4cc7c02660a2401a9b7638ade6b460c7c573ff93 /keyboard/hhkb_rn42/rn42.h | |
parent | 862f519e241b83113566eebde71841958b2d00b7 (diff) | |
download | qmk_firmware-fa545c87f74833856761572ef631d20accc1d026.tar.gz qmk_firmware-fa545c87f74833856761572ef631d20accc1d026.zip |
Fix rn42.h API
Diffstat (limited to 'keyboard/hhkb_rn42/rn42.h')
-rw-r--r-- | keyboard/hhkb_rn42/rn42.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/keyboard/hhkb_rn42/rn42.h b/keyboard/hhkb_rn42/rn42.h index a967a70d8a..4189733b49 100644 --- a/keyboard/hhkb_rn42/rn42.h +++ b/keyboard/hhkb_rn42/rn42.h @@ -3,18 +3,16 @@ #include <stdbool.h> -// RN-42 CTS pin -#define CTS_INIT() (DDRD |= (1<<5)) -#define CTS_HI() (PORTD |= (1<<5)) -#define CTS_LO() (PORTD &= ~(1<<5)) - host_driver_t rn42_driver; host_driver_t rn42_config_driver; void rn42_init(void); void rn42_putc(uint8_t c); +bool rn42_autoconnecting(void); void rn42_autoconnect(void); void rn42_disconnect(void); -bool rn42_ready(void); +bool rn42_rts(void); +void rn42_cts_hi(void); +void rn42_cts_lo(void); #endif |