(hopefully) basic sensible default radio settings

This commit is contained in:
Morgan 'ARR\!' Allen 2022-04-06 15:46:02 -07:00
parent 150a23dbaf
commit e8b52e7c78
1 changed files with 11 additions and 0 deletions

View File

@ -80,6 +80,17 @@
#define ERR_LOR_VERSION_MISMATCH (01)
#define LORA32_DEFAULT_CONFIG {\
.bandwidth = B250,\
.codingRate = 5,\
.frequency = 915000000,\
.spreadingFactor = 11,\
.preamble = DEFAULT_PREAMBLE,\
.implicitHeader = false,\
.useCRC = false,\
.fifoIdx = 0,\
}
enum freq {
F433, F866, F915
} lora32_freq;