From f412e17e89a6a1a860bbf55ce6978ebafcc148e2 Mon Sep 17 00:00:00 2001 From: mikeller Date: Sun, 17 Jun 2018 17:54:18 +1200 Subject: [PATCH] More USB include woes. --- src/main/common/maths.h | 2 ++ src/main/vcp_hal/usbd_conf.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/common/maths.h b/src/main/common/maths.h index 19842ebb4..3e24481d4 100644 --- a/src/main/common/maths.h +++ b/src/main/common/maths.h @@ -20,6 +20,8 @@ #pragma once +#include + #ifndef sq #define sq(x) ((x)*(x)) #endif diff --git a/src/main/vcp_hal/usbd_conf.c b/src/main/vcp_hal/usbd_conf.c index 2258b1341..6c96763fb 100644 --- a/src/main/vcp_hal/usbd_conf.c +++ b/src/main/vcp_hal/usbd_conf.c @@ -46,6 +46,8 @@ */ /* Includes ------------------------------------------------------------------*/ +#include "common/maths.h" + #include "stm32f7xx_hal.h" #include "usbd_core.h" #include "usbd_desc.h"