From f4c40d10ca4df9bd5abbba628abc26933ff41e59 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Thu, 5 Dec 2024 17:15:12 +0800 Subject: Add delay. --- rf_test/radio.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rf_test/radio.c') diff --git a/rf_test/radio.c b/rf_test/radio.c index eb031db..4926280 100644 --- a/rf_test/radio.c +++ b/rf_test/radio.c @@ -63,6 +63,9 @@ void radio_send(const char *data, uint8_t n) while ((read_reg(0x27) >> 7) != 1) ; + // todo: do a more reliable check + _delay_ms(5); + // ListenOn write_reg(0x01, (read_reg(0x01) | 0x40)); } -- cgit v1.2.3