]> git.tnoah.ca Git - lora-radio.git/commitdiff
Enabled LoRa spreading factor 6
authorMark Qvist <mark@adepta.io>
Sat, 30 Jun 2018 10:10:14 +0000 (12:10 +0200)
committerMark Qvist <mark@adepta.io>
Sat, 30 Jun 2018 10:10:14 +0000 (12:10 +0200)
Config.h
RNode_Firmware.ino

index 1bec50a0a9f5140782c568acc3ba1b908ff78b2e..2f572a845165492bc95ade306e9f856a3aeefaaf 100644 (file)
--- a/Config.h
+++ b/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
index 714b44569e0a59e8d0f8dcd674cfab9b1d49a2dc..d9de441233d3675264ec0ab6fb277b2e2a296a74 100644 (file)
@@ -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;