In function `_semtech_loramac_send` parameter `payload` can be NULL (that the case when scheduling an immediate TX, line 726). As DEBUG macro use printf, a %s parameter can't be NULL so we have to handle that case.
In function `_semtech_loramac_send` parameter `payload` can be NULL (that the case when scheduling an immediate TX, line 726). As DEBUG macro use printf, a %s parameter can't be NULL so we have to handle that case.