mirror of
https://github.com/hathach/tinyusb.git
synced 2026-03-15 20:14:54 +00:00
use USB_OTG_GLOBAL_BASE instead of hard code value
This commit is contained in:
@ -34,7 +34,7 @@
|
||||
#include "broadcom/interrupts.h"
|
||||
#include "broadcom/caches.h"
|
||||
|
||||
#define DWC2_REG_BASE 0xFE980000UL
|
||||
#define DWC2_REG_BASE USB_OTG_GLOBAL_BASE
|
||||
#define DWC2_EP_MAX 8
|
||||
#define DWC2_EP_FIFO_SIZE 4096
|
||||
|
||||
|
||||
Reference in New Issue
Block a user