mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-12-06 07:37:38 +00:00
Fix global ID random
This commit is contained in:
1 parent
baab9a9c89
commit
236ac52925
4 files changed
+65
-23
No files matched your search
@@ -156,7 +156,6 @@ static void __attribute__((unused)) ASSAN_initialize_txid()
|
||||
// Alternate frequency has some random
|
||||
do
|
||||
{
|
||||
randomSeed((uint32_t)analogRead(A6) << 10 | analogRead(A7));
|
||||
freq2=random(0xfefefefe)%9;
|
||||
freq2+=freq*2-5;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user