From 5ea676a443d8c8d2a49dfeb8214027780d459aea Mon Sep 17 00:00:00 2001 From: Jason Reiss Date: Mon, 25 Jan 2021 14:54:20 -0600 Subject: Load temperature adjusted LUT values and tables when temp_lut.json configuraion is detected. --- lora_pkt_fwd/global_conf.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lora_pkt_fwd/global_conf.json') diff --git a/lora_pkt_fwd/global_conf.json b/lora_pkt_fwd/global_conf.json index d73b50c..640fd18 100644 --- a/lora_pkt_fwd/global_conf.json +++ b/lora_pkt_fwd/global_conf.json @@ -16,8 +16,8 @@ "antenna_gain": 0, /* antenna gain, in dBi */ "temperature_comp": { "enabled": false, - "values": [ [-20,-2], [-10,-1], [0,0], [0,0] ], - "current_temp_file": "/var/run/lora/current_temp" + "current_temp_type": "SENSOR", + "current_temp_file": "/sys/class/hwmon/hwmon0/temp1_input" }, "radio_0": { "enable": true, -- cgit v1.2.3