make defaults a macro func call

This commit is contained in:
Morgan 'ARR\!' Allen 2023-12-29 21:25:41 -08:00
parent c690e3d425
commit 1b3e7601f7

View file

@ -97,7 +97,7 @@
#define ERR_LOR_VERSION_MISMATCH (01) #define ERR_LOR_VERSION_MISMATCH (01)
#define LORA32_DEFAULT_CONFIG {\ #define LORA32_DEFAULT_CONFIG() {\
.bandwidth = 7,\ .bandwidth = 7,\
.codingRate = 5,\ .codingRate = 5,\
.frequency = 915000000,\ .frequency = 915000000,\