[Si443x] Renamed TRNG method

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

View file

@ -550,7 +550,7 @@ void Si443x::setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn) {
_mod->setRfSwitchPins(rxEn, txEn);
}
uint8_t Si443x::random() {
uint8_t Si443x::randomByte() {
// set mode to Rx
_mod->SPIwriteRegister(SI443X_REG_OP_FUNC_CONTROL_1, SI443X_RX_ON | SI443X_XTAL_ON);

View file

@ -790,7 +790,7 @@ class Si443x: public PhysicalLayer {
\returns TRNG byte.
*/
uint8_t random();
uint8_t randomByte();
/*!
\brief Read version SPI register. Should return SI443X_DEVICE_VERSION (0x06) if Si443x is connected and working.