hhkb: Move functions which communicate with RN42
This commit is contained in:
parent
f4a20304e4
commit
2e464737aa
3 changed files with 36 additions and 35 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#define RN42_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "host_driver.h"
|
||||
|
||||
host_driver_t rn42_driver;
|
||||
host_driver_t rn42_config_driver;
|
||||
|
|
@ -20,4 +21,10 @@ void rn42_cts_lo(void);
|
|||
bool rn42_linked(void);
|
||||
void rn42_set_leds(uint8_t l);
|
||||
|
||||
const char *rn42_send_command(const char *cmd);
|
||||
void rn42_send_str(const char *str);
|
||||
void rn42_print_response(void);
|
||||
#define SEND_STR(str) rn42_send_str(PSTR(str))
|
||||
#define SEND_COMMAND(cmd) rn42_send_command(PSTR(cmd))
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue