summaryrefslogtreecommitdiff
path: root/ports/stm32/rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/rng.c')
-rw-r--r--ports/stm32/rng.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/stm32/rng.c b/ports/stm32/rng.c
index 5d6ddf6d6..236d79ea8 100644
--- a/ports/stm32/rng.c
+++ b/ports/stm32/rng.c
@@ -24,6 +24,7 @@
* THE SOFTWARE.
*/
+#include "py/mphal.h"
#include "rtc.h"
#include "rng.h"