change hardware status refresh api
This commit is contained in:
@@ -359,10 +359,8 @@ void ScuTimer_IntrHandler(void *context)
|
||||
xdesc = (struct xil_timer_desc *)(logTmPtr->extra);
|
||||
if (XScuTimer_IsExpired((XScuTimer *)xdesc->instance))
|
||||
{
|
||||
// Update log
|
||||
const HWSTATE *newHwState;
|
||||
newHwState = Phy_RefreshHwSate(phyInstPtr);
|
||||
SysMonitor_UpdateHardwareStatus(newHwState);
|
||||
// Refresh log
|
||||
Phy_RefreshHwSate(phyInstPtr);
|
||||
XScuTimer_ClearInterruptStatus((XScuTimer *)xdesc->instance);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user