simplified code.

This commit is contained in:
Gatsby Van
2024-01-24 10:49:08 +08:00
parent 18e8be863a
commit 9b485bbb93
4 changed files with 55 additions and 33 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ static PHY_CONFIG phyConfig = {
.hwXadcId = PHY_HW_XADC_DEVICE_ID
};
TIMECTRL_CONFIG tmcConfig = {
TMC_CONFIG tmcConfig = {
.baseAddr = 0, //TIME_CONTROLLER_BASEADDR,
.reset = 10
};
@@ -118,7 +118,7 @@ static struct irq_ctrl_desc *intcDescPtr; // General interrupt controller descri
static struct timer_desc *logTmPtr;
static SYSBUS *sysbusDescPtr;
static PHY_INST *phyInstPtr;
static TIMECTRL_INST *tmcInstPtr = NULL;
static TMC_INST *tmcInstPtr = NULL;
static L2_INST *linkInstPtr;
static struct hmc7044_dev *hmc7044_inst;