From 1b3e7601f7b795a91b4ed4a8b2503e4b30653e35 Mon Sep 17 00:00:00 2001 From: "Morgan 'ARR\\!' Allen" Date: Fri, 29 Dec 2023 21:25:41 -0800 Subject: [PATCH] make defaults a macro func call --- include/esp32-lora.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/esp32-lora.h b/include/esp32-lora.h index 5fabb7e..888b309 100644 --- a/include/esp32-lora.h +++ b/include/esp32-lora.h @@ -97,7 +97,7 @@ #define ERR_LOR_VERSION_MISMATCH (01) -#define LORA32_DEFAULT_CONFIG {\ +#define LORA32_DEFAULT_CONFIG() {\ .bandwidth = 7,\ .codingRate = 5,\ .frequency = 915000000,\