[Si443x] Renamed TRNG method

pull/341/head
jgromes 2021-07-18 10:17:55 +02:00
rodzic fd9448e5f1
commit 7cabd4cf8a
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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);

Wyświetl plik

@ -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.