[SX128x] Renamed TRNG method

This commit is contained in:
jgromes 2021-07-18 10:18:03 +02:00
parent 7cabd4cf8a
commit 3734f23270
2 changed files with 2 additions and 2 deletions

View file

@ -1146,7 +1146,7 @@ void SX128x::setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn) {
_mod->setRfSwitchPins(rxEn, txEn); _mod->setRfSwitchPins(rxEn, txEn);
} }
uint8_t SX128x::random() { uint8_t SX128x::randomByte() {
// it's unclear whether SX128x can measure RSSI while not receiving a packet // it's unclear whether SX128x can measure RSSI while not receiving a packet
// this method is implemented only for PhysicalLayer compatibility // this method is implemented only for PhysicalLayer compatibility
return(0); return(0);

View file

@ -782,7 +782,7 @@ class SX128x: public PhysicalLayer {
\returns Always returns 0. \returns Always returns 0.
*/ */
uint8_t random(); uint8_t randomByte();
/*! /*!
\brief Dummy method, to ensure PhysicalLayer compatibility. \brief Dummy method, to ensure PhysicalLayer compatibility.