move log macros into usb_log.h,adjust header file inclusion order

This commit is contained in:
sakumisu
2022-06-04 21:07:47 +08:00
parent 9a857e60ba
commit ad17e1f40f
5 changed files with 120 additions and 94 deletions

View File

@@ -26,10 +26,19 @@
extern "C" {
#endif
#include "usb_util.h"
#include "usb_def.h"
#include "usb_dc.h"
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
#include "usb_config.h"
#include "usb_util.h"
#include "usb_errno.h"
#include "usb_def.h"
#include "usb_list.h"
#include "usb_mem.h"
#include "usb_log.h"
#include "usb_dc.h"
enum usbd_event_type {
/** USB error reported by the controller */