summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2020-08-29 14:00:24 +1000
committerDamien George <damien@micropython.org>2020-08-29 14:00:24 +1000
commit40d174ac7d1cc5c548756bb75b4f36b9b450b8bf (patch)
tree3229b9bfc2aaa67a7205cb689caa18af61b2c970
parent338b12d3c840ea56504c83d9c51e4d0f628684f4 (diff)
stm32/powerctrl.h: Include stdbool.h to get definition of bool.
Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--ports/stm32/powerctrl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/stm32/powerctrl.h b/ports/stm32/powerctrl.h
index 6e5f899a4..9f223e794 100644
--- a/ports/stm32/powerctrl.h
+++ b/ports/stm32/powerctrl.h
@@ -26,6 +26,7 @@
#ifndef MICROPY_INCLUDED_STM32_POWERCTRL_H
#define MICROPY_INCLUDED_STM32_POWERCTRL_H
+#include <stdbool.h>
#include <stdint.h>
void SystemClock_Config(void);