diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2024-12-08 17:36:40 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2024-12-08 17:36:40 +0800 |
| commit | 8fc4c42c3848ef747579b7cae3b6aba880d3a66e (patch) | |
| tree | 5cdaa7fa6c0e2775b5ceb65604ea3f3d5576fffa | |
| parent | 64f42e25a5f5d5929a0eb2ceba2b5ef8f6e2ee27 (diff) | |
| download | smart-home-8fc4c42c3848ef747579b7cae3b6aba880d3a66e.tar.gz | |
TX seems to be working (based on the logs.)
| -rw-r--r-- | rf_test/radio.c | 1 | ||||
| -rw-r--r-- | rf_test/send.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/rf_test/radio.c b/rf_test/radio.c index b525310..cd75ec5 100644 --- a/rf_test/radio.c +++ b/rf_test/radio.c @@ -41,7 +41,6 @@ static inline void write_reg(uint8_t reg, uint8_t val) void radio_send(const char *data, uint8_t n) { - char s[3]; uint8_t i; write_reg(0x01, 0x04); diff --git a/rf_test/send.c b/rf_test/send.c index 08340ba..325ac3f 100644 --- a/rf_test/send.c +++ b/rf_test/send.c @@ -30,6 +30,7 @@ int main(void) for (;;) { radio_send(s, n); + serial_write_line("sent"); LED_PORT |= (1 << LED_PIN); _delay_ms(100); LED_PORT &= ~(1 << LED_PIN); |
