mgmt/osdp: Remove unused variable from osdp_phy_packet_finalize()
The variable was removed to avoid generating compilation warrning. Signed-off-by: Arkadiusz Wadowski <wadowski.arkadiusz@gmail.com>
This commit is contained in:
parent
a9b0230360
commit
3fc40c9779
|
@ -191,7 +191,7 @@ int osdp_phy_packet_finalize(struct osdp_pd *pd, uint8_t *buf,
|
|||
|
||||
#ifdef CONFIG_OSDP_SC_ENABLED
|
||||
uint8_t *data;
|
||||
int i, data_len;
|
||||
int data_len;
|
||||
|
||||
if (sc_is_active(pd) && (pkt->control & PKT_CONTROL_SCB) && pkt->data[1] >= SCS_15) {
|
||||
if (pkt->data[1] == SCS_17 || pkt->data[1] == SCS_18) {
|
||||
|
|
Loading…
Reference in a new issue