Enabled LoRa spreading factor 6

This commit is contained in:
Mark Qvist 2018-06-30 12:10:14 +02:00
parent bd3cd5c145
commit e7ca8d7cde
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#define CONFIG_H #define CONFIG_H
#define MAJ_VERS 0x01 #define MAJ_VERS 0x01
#define MIN_VERS 0x06 #define MIN_VERS 0x07
#define MCU_328P 0x90 #define MCU_328P 0x90
#define MCU_1284P 0x91 #define MCU_1284P 0x91

View File

@ -414,7 +414,7 @@ void serialCallback(uint8_t sbyte) {
kiss_indicate_spreadingfactor(); kiss_indicate_spreadingfactor();
} else { } else {
int sf = sbyte; int sf = sbyte;
if (sf < 7) sf = 7; if (sf < 6) sf = 6;
if (sf > 12) sf = 12; if (sf > 12) sf = 12;
lora_sf = sf; lora_sf = sf;