Update arch/xtensa/src/esp32s3/esp32s3_rng.c
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
2d635be05f
commit
e0cb643545
@ -153,7 +153,7 @@ uint32_t IRAM_ATTR esp_random(void)
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
static ssize_t esp32s3_rng_read(struct file *filep, char *buffer,
|
static ssize_t esp32s3_rng_read(struct file *filep, char *buffer,
|
||||||
size_t buflen)
|
size_t buflen)
|
||||||
{
|
{
|
||||||
struct rng_dev_s *priv = (struct rng_dev_s *)&g_rngdev;
|
struct rng_dev_s *priv = (struct rng_dev_s *)&g_rngdev;
|
||||||
ssize_t read_len;
|
ssize_t read_len;
|
||||||
|
Loading…
Reference in New Issue
Block a user