Change obsoleted eStatus logging to eLog or eValue
This commit is contained in:
@@ -302,7 +302,7 @@ static void ORHVState_Unknown(pStateMachine sm, pEvtEvent event) {
|
||||
char line[132];
|
||||
*p = '\0';
|
||||
sprintf(line, "Version: %s", pCmd->inp_buf);
|
||||
SICSLogWrite(line, eStatus);
|
||||
SICSLogWrite(line, eLog);
|
||||
}
|
||||
ORHV_SendCmd(priv, "Hz", 2, fsm_msg_callback);
|
||||
sm->mySubState = 2;
|
||||
@@ -852,12 +852,12 @@ static void ORHVPSNotify(void* context, int event)
|
||||
switch (event) {
|
||||
case AQU_DISCONNECT:
|
||||
snprintf(line, 132, "Disconnect on Device '%s'", self->name);
|
||||
SICSLogWrite(line, eStatus);
|
||||
SICSLogWrite(line, eLog);
|
||||
/* TODO: disconnect */
|
||||
break;
|
||||
case AQU_RECONNECT:
|
||||
snprintf(line, 132, "Reconnect on Device '%s'", self->name);
|
||||
SICSLogWrite(line, eStatus);
|
||||
SICSLogWrite(line, eLog);
|
||||
/* TODO: reconnect */
|
||||
if (self->has_fsm) {
|
||||
/* Reset the state machine */
|
||||
|
||||
Reference in New Issue
Block a user