[SX128x] Renamed TRNG method

pull/341/head
jgromes 2021-07-18 10:18:03 +02:00
rodzic 7cabd4cf8a
commit 3734f23270
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1146,7 +1146,7 @@ void SX128x::setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE 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
// this method is implemented only for PhysicalLayer compatibility
return(0);

Wyświetl plik

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