From bee5012e0460e3cc909b31b7e64ff647fb72acfe Mon Sep 17 00:00:00 2001 From: xlemmingx Date: Wed, 28 May 2025 11:23:42 +0200 Subject: [PATCH] fix compiler warning --- src/lora/lorawan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lora/lorawan.c b/src/lora/lorawan.c index 6e3253f..6a369e7 100644 --- a/src/lora/lorawan.c +++ b/src/lora/lorawan.c @@ -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 {