Skip to content

Commit

Permalink
[RF69] Fix copy-pate error (#1013)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgromes committed Mar 29, 2024
1 parent 88f26c4 commit 721a44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/RF69/RF69.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ int16_t RF69::transmit(uint8_t* data, size_t len, uint8_t addr) {

int16_t RF69::receive(uint8_t* data, size_t len) {
// calculate timeout (500 ms + 400 full 64-byte packets at current bit rate)
uint32_t timeout = 500 + (1.0/(this->bitRate))*(RADIOLIB_SI443X_MAX_PACKET_LENGTH*400.0);
uint32_t timeout = 500 + (1.0/(this->bitRate))*(RADIOLIB_RF69_MAX_PACKET_LENGTH*400.0);

// start reception
int16_t state = startReceive();
Expand Down

0 comments on commit 721a44c

Please sign in to comment.