diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2024-12-08 15:33:18 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2024-12-08 15:33:18 +0800 |
| commit | 1300271d6d8bc135ac770e73d54950d28ce5648b (patch) | |
| tree | d1e77bea5ec9c1f762b5d466a2420b7d8af9b467 /rf_test/radio.h | |
| parent | 45191846fd728d9b1abee5e4d358b6d2ea0bfce1 (diff) | |
| download | smart-home-1300271d6d8bc135ac770e73d54950d28ce5648b.tar.gz | |
wip: try from scratch.
Diffstat (limited to 'rf_test/radio.h')
| -rw-r--r-- | rf_test/radio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rf_test/radio.h b/rf_test/radio.h index aaa099f..f016659 100644 --- a/rf_test/radio.h +++ b/rf_test/radio.h @@ -9,9 +9,9 @@ struct radio_cfg { uint8_t payload_len; }; -void radio_init(struct radio_cfg *cfg); +void radio_init(const struct radio_cfg *cfg); -void radio_sendto(uint8_t addr, const char *data, uint8_t n); +void radio_send(const char *data, uint8_t n); uint8_t radio_recv(char *buf, uint8_t n); |
