diff --git a/src/modules/RF69/RF69.cpp b/src/modules/RF69/RF69.cpp index d641c261..9b96143a 100644 --- a/src/modules/RF69/RF69.cpp +++ b/src/modules/RF69/RF69.cpp @@ -800,7 +800,7 @@ void RF69::setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn) { _mod->setRfSwitchPins(rxEn, txEn); } -uint8_t RF69::random() { +uint8_t RF69::randomByte() { // set mode to Rx setMode(RF69_RX); diff --git a/src/modules/RF69/RF69.h b/src/modules/RF69/RF69.h index 78239054..d2acc5e8 100644 --- a/src/modules/RF69/RF69.h +++ b/src/modules/RF69/RF69.h @@ -860,7 +860,7 @@ class RF69: public PhysicalLayer { \returns TRNG byte. */ - uint8_t random(); + uint8_t randomByte(); /*! \brief Read version SPI register. Should return RF69_CHIP_VERSION (0x24) if SX127x is connected and working.