adapted to new hardware status refresh api
This commit is contained in:
@@ -360,7 +360,9 @@ void ScuTimer_IntrHandler(void *context)
|
||||
if (XScuTimer_IsExpired((XScuTimer *)xdesc->instance))
|
||||
{
|
||||
// Update log
|
||||
Phy_UpdateHwSate(phyInstPtr);
|
||||
const HWSTATE *newHwState;
|
||||
newHwState = Phy_RefreshHwSate(phyInstPtr);
|
||||
SysMonitor_UpdateHardwareStatus(newHwState);
|
||||
XScuTimer_ClearInterruptStatus((XScuTimer *)xdesc->instance);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user