Skip to content

Commit a6cca60

Browse files
thedjnKnashif
authored andcommitted
mgmt: mcumgr: transport: smp_lorawan: Update downlink function
Updates the function to account for a change in the arguments Signed-off-by: Jamie McCrae <[email protected]>
1 parent 68361ea commit a6cca60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

subsys/mgmt/mcumgr/transport/src/smp_lorawan.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
LOG_MODULE_REGISTER(smp_lorawan, CONFIG_MCUMGR_TRANSPORT_LORAWAN_LOG_LEVEL);
1818

19-
static void smp_lorawan_downlink(uint8_t port, bool data_pending, int16_t rssi, int8_t snr,
19+
static void smp_lorawan_downlink(uint8_t port, uint8_t flags, int16_t rssi, int8_t snr,
2020
uint8_t len, const uint8_t *hex_data);
2121

2222
static int smp_lorawan_uplink(struct net_buf *nb);
@@ -122,10 +122,10 @@ static void smp_lorawan_uplink_thread(void *p1, void *p2, void *p3)
122122
}
123123
#endif
124124

125-
static void smp_lorawan_downlink(uint8_t port, bool data_pending, int16_t rssi, int8_t snr,
125+
static void smp_lorawan_downlink(uint8_t port, uint8_t flags, int16_t rssi, int8_t snr,
126126
uint8_t len, const uint8_t *hex_data)
127127
{
128-
ARG_UNUSED(data_pending);
128+
ARG_UNUSED(flags);
129129
ARG_UNUSED(rssi);
130130
ARG_UNUSED(snr);
131131

0 commit comments

Comments
 (0)