mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2024-07-02 14:34:13 +02:00
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 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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user