mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* more experiments
This commit is contained in:
parent
7bd7bfb14a
commit
8355543366
6 changed files with 112 additions and 7 deletions
|
|
@ -543,7 +543,11 @@ void setup() {
|
|||
#ifdef WRAPPER_CLASS
|
||||
fast_rng.begin(radio.random(0x7FFFFFFF));
|
||||
#else
|
||||
fast_rng.begin(rand());
|
||||
char c = 0;
|
||||
while (c != '\n') { // wait for ENTER to be pressed
|
||||
if (Serial.available()) c = Serial.read();
|
||||
}
|
||||
fast_rng.begin(millis());
|
||||
#endif
|
||||
|
||||
#if defined(NRF52_PLATFORM)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue