esp-idf/components/spi_flash/sim/stubs/esp32/esp_random.c
Dmitry 6a950d6a17 Build test applicatoin on host failer fixed.
Make host tests compilible.
2018-07-31 08:45:43 +03:00

15 lines
203 B
C

#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <time.h>
#include <string.h>
#include <stddef.h>
#include "esp_system.h"
uint32_t esp_random(void)
{
return (uint32_t)rand();
}