Skip to content
Snippets Groups Projects
Commit 3fc7c8e3 authored by Damien George's avatar Damien George
Browse files

stm32/usb: Include py/mpconfig.h instead of mpconfigboard.h.

Because py/mpconfig.h has header include guards.
parent de76f73d
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@
#include "py/mphal.h"
// need this header for any overrides to the below constants
#include "mpconfigboard.h"
#include "py/mpconfig.h"
#ifndef USBD_LANGID_STRING
#define USBD_LANGID_STRING 0x409
......
......@@ -7,8 +7,7 @@
#include "usbd_ioreq.h"
// These are included to get direct access the MICROPY_HW_USB_xxx config
#include "mpconfigboard.h"
#include "mpconfigboard_common.h"
#include "py/mpconfig.h"
// Work out if we should support USB high-speed device mode
#if MICROPY_HW_USB_HS \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment