diff options
Diffstat (limited to 'software/avr.lib')
-rw-r--r-- | software/avr.lib/cc1101.c | 4 | ||||
-rw-r--r-- | software/avr.lib/cc1101.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/software/avr.lib/cc1101.c b/software/avr.lib/cc1101.c index fc8b16a..3436782 100644 --- a/software/avr.lib/cc1101.c +++ b/software/avr.lib/cc1101.c @@ -133,9 +133,9 @@ void cc1101_calibrate(void) cc1101_spi_strobe_command(CC1101_CMD_SCAL); } -void cc1101_rx(void) +void cc1101_fasttxon(void) { - cc1101_spi_strobe_command(CC1101_CMD_SRX); + cc1101_spi_strobe_command(CC1101_CMD_SFSTXON); } char* cc1101_state_to_string(cc1101_state_t state) diff --git a/software/avr.lib/cc1101.h b/software/avr.lib/cc1101.h index 8884b6a..ce97d9d 100644 --- a/software/avr.lib/cc1101.h +++ b/software/avr.lib/cc1101.h @@ -47,7 +47,7 @@ void cc1101_powerdown(void); void cc1101_idle(void); void cc1101_osc_off(void); void cc1101_calibrate(void); -void cc1101_rx(void); +void cc1101_fasttxon(void); cc1101_state_t cc1101_get_state(void); void cc1101_set_freq_hz(uint32_t hz); |