sensible defaults and get rid of what ever lora32_freq was

This commit is contained in:
Morgan 'ARR\!' Allen 2023-12-29 21:26:02 -08:00
parent 1b3e7601f7
commit ad717a6978

View file

@ -101,7 +101,7 @@
.bandwidth = 7,\
.codingRate = 5,\
.frequency = 915000000,\
.spreadingFactor = 11,\
.spreadingFactor = 8,\
.preamble = DEFAULT_PREAMBLE,\
.implicitHeader = false,\
.useCRC = false,\
@ -109,18 +109,14 @@
.copi = 23,\
.cipo = 19,\
.clk = 18,\
.dio0 = -1,\
.dio1 = -1,\
.dio2 = -1,\
.nss = -1,\
.reset = -1,\
.dio0 = 5,\
.dio1 = 12,\
.dio2 = 13,\
.nss = 15,\
.reset = 4,\
.spi_host = 1,\
}
enum freq {
F433, F866, F915
} lora32_freq;
typedef enum {
B78, B104, B156, B208, B3125, B417, B625, B125, B250, B500
} bandwidth;