[nRF24] Renamed TRNG method
This commit is contained in:
parent
d645f5ab73
commit
fd9448e5f1
2 changed files with 2 additions and 2 deletions
|
@ -505,7 +505,7 @@ int16_t nRF24::setEncoding(uint8_t encoding) {
|
||||||
return(ERR_NONE);
|
return(ERR_NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t nRF24::random() {
|
uint8_t nRF24::randomByte() {
|
||||||
// nRF24 is unable to measure RSSI, hence no TRNG
|
// nRF24 is unable to measure RSSI, hence no TRNG
|
||||||
// this method is implemented only for PhysicalLayer compatibility
|
// this method is implemented only for PhysicalLayer compatibility
|
||||||
return(0);
|
return(0);
|
||||||
|
|
|
@ -469,7 +469,7 @@ class nRF24: public PhysicalLayer {
|
||||||
|
|
||||||
\returns Always returns 0.
|
\returns Always returns 0.
|
||||||
*/
|
*/
|
||||||
uint8_t random();
|
uint8_t randomByte();
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\brief Dummy method, to ensure PhysicalLayer compatibility.
|
\brief Dummy method, to ensure PhysicalLayer compatibility.
|
||||||
|
|
Loading…
Add table
Reference in a new issue