mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-03 12:07:52 +00:00
fixes
This commit is contained in:
parent
a5039fb6d1
commit
3fe4993618
@ -158,7 +158,7 @@ static void __attribute__((unused)) ASSAN_initialize_txid()
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
#if defined STM32_board
|
#if defined STM32_board
|
||||||
randomSeed((uint32_t)analogReadPB0) << 10 | analogRead(PB1));
|
randomSeed((uint32_t)analogReadP(B0) << 10 | analogRead(PB1));
|
||||||
#else
|
#else
|
||||||
randomSeed((uint32_t)analogRead(A6) << 10 | analogRead(A7));
|
randomSeed((uint32_t)analogRead(A6) << 10 | analogRead(A7));
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user