[SX127x] Renamed TRNG method
This commit is contained in:
parent
3734f23270
commit
8b9be43cb2
2 changed files with 2 additions and 2 deletions
|
@ -1058,7 +1058,7 @@ void SX127x::setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn) {
|
|||
_mod->setRfSwitchPins(rxEn, txEn);
|
||||
}
|
||||
|
||||
uint8_t SX127x::random() {
|
||||
uint8_t SX127x::randomByte() {
|
||||
// check active modem
|
||||
uint8_t rssiValueReg = SX127X_REG_RSSI_WIDEBAND;
|
||||
if(getActiveModem() == SX127X_FSK_OOK) {
|
||||
|
|
|
@ -1008,7 +1008,7 @@ class SX127x: public PhysicalLayer {
|
|||
|
||||
\returns TRNG byte.
|
||||
*/
|
||||
uint8_t random();
|
||||
uint8_t randomByte();
|
||||
|
||||
/*!
|
||||
\brief Read version SPI register. Should return SX1278_CHIP_VERSION (0x12) or SX1272_CHIP_VERSION (0x22) if SX127x is connected and working.
|
||||
|
|
Loading…
Add table
Reference in a new issue