Skip to content

Commit a440e6b

Browse files
committed
Merge branch 'master' of github.com:ngraziano/LMICPP-Arduino into library
2 parents 2f15725 + 2ad60a9 commit a440e6b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/lmic/lmicrandesp.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
#include "lmicrand.h"
33

44
#include <esp_system.h>
5+
#include <esp_random.h>
56

67
// return next random from esp system random generator
78
uint8_t LmicRand::uint8() { return esp_random() & 0xFF; }
89

910
//! Get random number .
1011
uint16_t LmicRand::uint16() { return esp_random() & 0xFFFF; }
1112

12-
#endif
13+
#endif

0 commit comments

Comments
 (0)