[Si443x] Renamed TRNG method
This commit is contained in:
parent
fd9448e5f1
commit
7cabd4cf8a
2 changed files with 2 additions and 2 deletions
|
@ -550,7 +550,7 @@ void Si443x::setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn) {
|
||||||
_mod->setRfSwitchPins(rxEn, txEn);
|
_mod->setRfSwitchPins(rxEn, txEn);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t Si443x::random() {
|
uint8_t Si443x::randomByte() {
|
||||||
// set mode to Rx
|
// set mode to Rx
|
||||||
_mod->SPIwriteRegister(SI443X_REG_OP_FUNC_CONTROL_1, SI443X_RX_ON | SI443X_XTAL_ON);
|
_mod->SPIwriteRegister(SI443X_REG_OP_FUNC_CONTROL_1, SI443X_RX_ON | SI443X_XTAL_ON);
|
||||||
|
|
||||||
|
|
|
@ -790,7 +790,7 @@ class Si443x: public PhysicalLayer {
|
||||||
|
|
||||||
\returns TRNG byte.
|
\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.
|
\brief Read version SPI register. Should return SI443X_DEVICE_VERSION (0x06) if Si443x is connected and working.
|
||||||
|
|
Loading…
Add table
Reference in a new issue