File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/portable/synopsys/dwc2 Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ TU_ATTR_ALWAYS_INLINE static inline dwc2_regs_t* DWC2_REG(uint8_t rhport) {
7878//--------------------------------------------------------------------+
7979// MACRO TYPEDEF CONSTANT ENUM
8080//--------------------------------------------------------------------+
81- #if DWC2_ENABLE_MEM_CACHE
81+ #ifdef DWC2_ENABLE_MEM_CACHE
8282
8383#ifndef DWC2_MEM_CACHE_LINE_SIZE
8484#warning "Cache line size not specified, use default(64b) instead"
Original file line number Diff line number Diff line change 4545#include "hal/cache_hal.h"
4646#include "esp_cache.h"
4747#include "esp_log.h"
48- #define DWC2_ENABLE_MEM_CACHE 1
48+ #define DWC2_ENABLE_MEM_CACHE
4949#endif // SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE
5050#endif // OPT_MCU_ESP32P4
5151
You can’t perform that action at this time.
0 commit comments