summaryrefslogtreecommitdiffstats
path: root/platforms/chibios/bootloaders
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-01-06 06:55:46 +1100
committerGitHub <noreply@github.com>2022-01-06 06:55:46 +1100
commit5fb93934d0f3319547cc6313845fe5a96f8b7798 (patch)
treef03930762c7477d6ef7506bceeb6c27b35994f2f /platforms/chibios/bootloaders
parent99e11f482314e3fa061f06e193663544fa938a8c (diff)
Fixes for bootloader refactor build failures (#15638)
Diffstat (limited to 'platforms/chibios/bootloaders')
-rw-r--r--platforms/chibios/bootloaders/gd32v_dfu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/platforms/chibios/bootloaders/gd32v_dfu.c b/platforms/chibios/bootloaders/gd32v_dfu.c
index 7a979638e3..baa7d1f882 100644
--- a/platforms/chibios/bootloaders/gd32v_dfu.c
+++ b/platforms/chibios/bootloaders/gd32v_dfu.c
@@ -17,6 +17,7 @@
#include "bootloader.h"
#include <ch.h>
+#include <hal.h>
#define DBGMCU_KEY_UNLOCK 0x4B5A6978
#define DBGMCU_CMD_RESET 0x1