*bugfix: correct systembus interrupt settings

This commit is contained in:
Gatsby Van
2024-01-26 20:06:02 +08:00
parent bbf5aad749
commit 03aec683ef
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -49,6 +49,7 @@ void Phy_IntrHandler(void *context);
void PeriodicPull_Handler(void *callBackRef);
void ScuTimer_IntrHandler(void *context);
void Systembus_RxIntrHandler(void *context);
void Systembus_TxIntrHandler(void *context);
/************************** Constant Definitions *****************************/
struct callback_desc phy_callback_desc = {
.callback = Phy_IntrHandler,
@@ -67,7 +68,7 @@ struct callback_desc sysbus_rx_callback_desc = {
};
struct callback_desc sysbus_tx_callback_desc = {
.callback = Systembus_RxIntrHandler,
.callback = Systembus_TxIntrHandler,
.ctx = NULL
};