[PHY] Renamed TRNG method
This commit is contained in:
parent
fdfd12fb55
commit
d645f5ab73
2 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ int32_t PhysicalLayer::random(int32_t max) {
|
|||
// get random bytes from the radio
|
||||
uint8_t randBuff[4];
|
||||
for(uint8_t i = 0; i < 4; i++) {
|
||||
randBuff[i] = random();
|
||||
randBuff[i] = randomByte();
|
||||
}
|
||||
|
||||
// create 32-bit TRNG number
|
||||
|
|
|
@ -250,7 +250,7 @@ class PhysicalLayer {
|
|||
|
||||
\returns TRNG byte.
|
||||
*/
|
||||
virtual uint8_t random() = 0;
|
||||
virtual uint8_t randomByte() = 0;
|
||||
|
||||
/*!
|
||||
\brief Configure module parameters for direct modes. Must be called prior to "ham" modes like RTTY or AX.25. Only available in FSK mode.
|
||||
|
|
Loading…
Add table
Reference in a new issue