Separate USB HAL and common USB types

This commit separates out the common USB types used throughout most of the stack into its
own header file inside the USB component. The types used in the USB HAL are now exclusive
to the HAL.
This commit is contained in:
Darian Leung
2021-03-05 20:51:25 +08:00
parent bcc7549802
commit 2906a25988
7 changed files with 170 additions and 96 deletions

View File

@@ -21,9 +21,8 @@ extern "C" {
#include <stdint.h>
#include <stdbool.h>
#include <sys/queue.h>
#include "hal/usb_types.h"
#include "hal/usbh_hal.h"
#include "esp_err.h"
#include "usb.h"
// ------------------------------------------------- Macros & Types ----------------------------------------------------