kopia lustrzana https://github.com/jgromes/RadioLib
[Si443x] Renamed TRNG method
rodzic
fd9448e5f1
commit
7cabd4cf8a
|
@ -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);
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Ładowanie…
Reference in New Issue