mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-10 07:10:42 +00:00
Lora band and fs from GLOBALS were ignored
Fixed it by changing the order of the includes (as one references the other) and using FDRS_BAND and FDRS_SF in the constructor of the FDRSLora class.
This commit is contained in:
parent
aba1c80cc5
commit
b1b2675ca3
@ -8,10 +8,10 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
#include "fdrs_sensor.h"
|
|
||||||
#include "sensor_setup.h"
|
#include "sensor_setup.h"
|
||||||
|
#include "fdrs_sensor.h"
|
||||||
|
|
||||||
FDRSLoRa FDRS(GTWY_MAC,READING_ID,MISO,MOSI,SCK,SS,RST,DIO0,BAND,SF);
|
FDRSLoRa FDRS(GTWY_MAC,READING_ID,MISO,MOSI,SCK,SS,RST,DIO0,FDRS_BAND,FDRS_SF);
|
||||||
|
|
||||||
float data1;
|
float data1;
|
||||||
float data2;
|
float data2;
|
||||||
|
Loading…
Reference in New Issue
Block a user