summaryrefslogtreecommitdiff
path: root/tinyusb/hal
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/hal')
-rw-r--r--tinyusb/hal/hal_lpc11uxx.c1
-rw-r--r--tinyusb/hal/hal_lpc13uxx.c1
-rw-r--r--tinyusb/hal/hal_lpc43xx.c3
-rw-r--r--tinyusb/hal/hal_lpc43xx.h1
4 files changed, 5 insertions, 1 deletions
diff --git a/tinyusb/hal/hal_lpc11uxx.c b/tinyusb/hal/hal_lpc11uxx.c
index 748db46d4..29608e408 100644
--- a/tinyusb/hal/hal_lpc11uxx.c
+++ b/tinyusb/hal/hal_lpc11uxx.c
@@ -36,6 +36,7 @@
*/
#include "common/common.h"
+#include "hal.h"
#if MCU == MCU_LPC11UXX
diff --git a/tinyusb/hal/hal_lpc13uxx.c b/tinyusb/hal/hal_lpc13uxx.c
index 0c76d1ddd..4379bb86d 100644
--- a/tinyusb/hal/hal_lpc13uxx.c
+++ b/tinyusb/hal/hal_lpc13uxx.c
@@ -36,6 +36,7 @@
*/
#include "common/common.h"
+#include "hal.h"
#if MCU == MCU_LPC13UXX
diff --git a/tinyusb/hal/hal_lpc43xx.c b/tinyusb/hal/hal_lpc43xx.c
index 9734c234c..f7280041e 100644
--- a/tinyusb/hal/hal_lpc43xx.c
+++ b/tinyusb/hal/hal_lpc43xx.c
@@ -36,9 +36,12 @@
*/
#include "common/common.h"
+#include "hal.h"
#if MCU == MCU_LPC43XX
+#include "lpc43xx_cgu.h"
+
tusb_error_t hal_init()
{
/* Set up USB0 clock */
diff --git a/tinyusb/hal/hal_lpc43xx.h b/tinyusb/hal/hal_lpc43xx.h
index f1aa82ef7..63da8a37c 100644
--- a/tinyusb/hal/hal_lpc43xx.h
+++ b/tinyusb/hal/hal_lpc43xx.h
@@ -52,7 +52,6 @@
#define _TUSB_HAL_LPC43XX_H_
#include "LPC43xx.h"
-//#include "lpc43xx_cgu.h"
#ifdef __cplusplus
extern "C" {