fix compiler warning

This commit is contained in:
xlemmingx 2025-05-28 11:23:42 +02:00
parent b683a8a880
commit bee5012e04

View File

@ -52,14 +52,14 @@ void init_lorawan()
if (!device_is_ready(lora_dev))
{
LOG_ERR("%s: device not ready.", lora_dev->name);
return 0;
return;
}
err = lorawan_start();
if (err < 0)
{
LOG_ERR("lorawan_start failed: %d", err);
return 0;
return;
}
else
{