kopia lustrzana https://github.com/jgromes/RadioLib
[nRF24] Renamed TRNG method
rodzic
d645f5ab73
commit
fd9448e5f1
|
@ -505,7 +505,7 @@ int16_t nRF24::setEncoding(uint8_t encoding) {
|
|||
return(ERR_NONE);
|
||||
}
|
||||
|
||||
uint8_t nRF24::random() {
|
||||
uint8_t nRF24::randomByte() {
|
||||
// nRF24 is unable to measure RSSI, hence no TRNG
|
||||
// this method is implemented only for PhysicalLayer compatibility
|
||||
return(0);
|
||||
|
|
|
@ -469,7 +469,7 @@ class nRF24: public PhysicalLayer {
|
|||
|
||||
\returns Always returns 0.
|
||||
*/
|
||||
uint8_t random();
|
||||
uint8_t randomByte();
|
||||
|
||||
/*!
|
||||
\brief Dummy method, to ensure PhysicalLayer compatibility.
|
||||
|
|
Ładowanie…
Reference in New Issue