Skip to content

Commit d87aa7e

Browse files
committed
USB STM32: fix header inclusion, removing mbed.h'
Fixes #13667 issue
1 parent 05babec commit d87aa7e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

targets/TARGET_STM/USBPhyHw.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
#ifndef USBPHYHW_H
1919
#define USBPHYHW_H
2020

21-
#include "mbed.h"
21+
#include "platform/mbed_toolchain.h"
22+
#include "platform/mbed_error.h"
23+
#include "platform/mbed_assert.h"
24+
#include "platform/mbed_wait_api.h"
25+
#include "platform/mbed_power_mgmt.h"
2226
#include "USBPhy.h"
2327
#include "PeripheralPins.h"
2428

0 commit comments

Comments
 (0)