Skip to content

Commit

Permalink
Merge pull request #211 from mvaranda/mv-fix-offline-notification
Browse files Browse the repository at this point in the history
fix offline notification
  • Loading branch information
sidcha authored Jan 9, 2025
2 parents 442da4b + 33b8b7c commit f710b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osdp_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ static void cp_state_change(struct osdp_pd *pd, enum osdp_cp_state_e next)
notify_sc_status(pd);
LOG_ERR("Going offline for %d seconds; Was in '%s' state",
pd->wait_ms / 1000, state_get_name(cur));
notify_pd_status(pd, true);
notify_pd_status(pd, false);
break;
case OSDP_CP_STATE_SC_CHLNG:
osdp_sc_setup(pd);
Expand Down

0 comments on commit f710b53

Please sign in to comment.