Enabled LoRa spreading factor 6
This commit is contained in:
parent
bd3cd5c145
commit
e7ca8d7cde
2
Config.h
2
Config.h
|
@ -4,7 +4,7 @@
|
|||
#define CONFIG_H
|
||||
|
||||
#define MAJ_VERS 0x01
|
||||
#define MIN_VERS 0x06
|
||||
#define MIN_VERS 0x07
|
||||
|
||||
#define MCU_328P 0x90
|
||||
#define MCU_1284P 0x91
|
||||
|
|
|
@ -414,7 +414,7 @@ void serialCallback(uint8_t sbyte) {
|
|||
kiss_indicate_spreadingfactor();
|
||||
} else {
|
||||
int sf = sbyte;
|
||||
if (sf < 7) sf = 7;
|
||||
if (sf < 6) sf = 6;
|
||||
if (sf > 12) sf = 12;
|
||||
|
||||
lora_sf = sf;
|
||||
|
|
Loading…
Reference in New Issue