More USB include woes.

This commit is contained in:
mikeller 2018-06-17 17:54:18 +12:00
parent 448885bfc5
commit f412e17e89
2 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,8 @@
#pragma once #pragma once
#include <stdint.h>
#ifndef sq #ifndef sq
#define sq(x) ((x)*(x)) #define sq(x) ((x)*(x))
#endif #endif

View File

@ -46,6 +46,8 @@
*/ */
/* Includes ------------------------------------------------------------------*/ /* Includes ------------------------------------------------------------------*/
#include "common/maths.h"
#include "stm32f7xx_hal.h" #include "stm32f7xx_hal.h"
#include "usbd_core.h" #include "usbd_core.h"
#include "usbd_desc.h" #include "usbd_desc.h"