From 9bce9c092a47a3a3a9028be858053f17146dad20 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Thu, 24 Apr 2025 09:39:08 +0800 Subject: Copy the nrfm driver from the smart home project. --- nrfm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nrfm.h') diff --git a/nrfm.h b/nrfm.h index 22a9b89..7c38031 100644 --- a/nrfm.h +++ b/nrfm.h @@ -14,6 +14,8 @@ void radio_listen(void); uint8_t radio_recv(char *buf, uint8_t n); -void radio_sendto(const uint8_t addr[ADDRLEN], const char *msg, uint8_t n); +void radio_flush_rx(void); + +uint8_t radio_sendto(const uint8_t addr[ADDRLEN], const char *msg, uint8_t n); #endif /* NRFM_H */ -- cgit v1.2.3