mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-30 08:51:19 +01:00
Merge pull request #11529 from ParksProjets/pr_loramac
pkg/semtech_loramac: fix DEBUG message when payload is NULL
This commit is contained in:
commit
d07acbe876
@ -82,7 +82,7 @@ typedef struct {
|
||||
static uint8_t _semtech_loramac_send(semtech_loramac_t *mac,
|
||||
uint8_t *payload, uint8_t len)
|
||||
{
|
||||
DEBUG("[semtech-loramac] send frame %s\n", (char *)payload);
|
||||
DEBUG("[semtech-loramac] send frame %s\n", payload ? (char *)payload : "(empty)");
|
||||
McpsReq_t mcpsReq;
|
||||
LoRaMacTxInfo_t txInfo;
|
||||
uint8_t dr = semtech_loramac_get_dr(mac);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user