mirror of
https://github.com/polyfractal/rustl8710.git
synced 2025-03-14 10:32:58 +00:00
Avoid arc4random conflict
This commit is contained in:
parent
76247cfc7a
commit
1c64ccc7a3
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,7 @@ void encrypt_data_aes(unsigned char *plaint_text, unsigned char *enc_data);
|
|||
void decrypt_data_aes(unsigned char *enc_data, unsigned char *dec_data, int data_len);
|
||||
|
||||
|
||||
|
||||
#ifndef _STDLIB_H_
|
||||
static unsigned int arc4random(void)
|
||||
{
|
||||
unsigned int res = xTaskGetTickCount();
|
||||
|
@ -59,6 +59,7 @@ static unsigned int arc4random(void)
|
|||
return seed;
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
static char *iot_itoa(int value)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue