mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
refactor(rng): use adc_ll apis for ESP32-h4 and refactor rng_ll_enable/disable
This commit is contained in:
@@ -19,6 +19,15 @@ static inline uint32_t rng_ll_read_data(void)
|
||||
return REG_READ(WDEV_RND_REG);
|
||||
}
|
||||
|
||||
/* For compatibility. */
|
||||
static inline void rng_ll_enable(void)
|
||||
{
|
||||
}
|
||||
|
||||
static inline void rng_ll_disable(void)
|
||||
{
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user