fix compiler warning
This commit is contained in:
parent
b683a8a880
commit
bee5012e04
@ -52,14 +52,14 @@ void init_lorawan()
|
|||||||
if (!device_is_ready(lora_dev))
|
if (!device_is_ready(lora_dev))
|
||||||
{
|
{
|
||||||
LOG_ERR("%s: device not ready.", lora_dev->name);
|
LOG_ERR("%s: device not ready.", lora_dev->name);
|
||||||
return 0;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
err = lorawan_start();
|
err = lorawan_start();
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
{
|
{
|
||||||
LOG_ERR("lorawan_start failed: %d", err);
|
LOG_ERR("lorawan_start failed: %d", err);
|
||||||
return 0;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user