Commit 97b1aaaf authored by Bc. Petr Elexa's avatar Bc. Petr Elexa

panel: do not access not cofigured readers

parent 6e6413b9
......@@ -159,6 +159,9 @@ void term_can_recv(uint8_t msg_obj_num)
}
else return;
// stop processing if card reader not configured
if (panel_id >= DOOR_ACC_PANEL_COUNT) return;
// continue deducing action and execute it
if (head.fc == FC_USER_AUTH_RESP)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment