From caf34534d34568e8f41e47ea4ff8a15d1155142d Mon Sep 17 00:00:00 2001 From: jgromes Date: Sun, 18 Jul 2021 10:18:18 +0200 Subject: [PATCH] [SX126x] Renamed TRNG method --- src/modules/SX126x/SX126x.cpp | 2 +- src/modules/SX126x/SX126x.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/SX126x/SX126x.cpp b/src/modules/SX126x/SX126x.cpp index 4ca30aab..92cfe2a3 100644 --- a/src/modules/SX126x/SX126x.cpp +++ b/src/modules/SX126x/SX126x.cpp @@ -1192,7 +1192,7 @@ int16_t SX126x::autoLDRO() { return(ERR_NONE); } -uint8_t SX126x::random() { +uint8_t SX126x::randomByte() { // set mode to Rx setRx(SX126X_RX_TIMEOUT_INF); diff --git a/src/modules/SX126x/SX126x.h b/src/modules/SX126x/SX126x.h index 19a42ffc..775aeb9f 100644 --- a/src/modules/SX126x/SX126x.h +++ b/src/modules/SX126x/SX126x.h @@ -885,7 +885,7 @@ class SX126x: public PhysicalLayer { \returns TRNG byte. */ - uint8_t random(); + uint8_t randomByte(); /*! \brief Dummy method, to ensure PhysicalLayer compatibility.