Skip to content

Commit 703df32

Browse files
authored
Merge pull request #50 from betaflight/change_trigger_sensor_for_time_synch
Changed the sensor triggering time synch to 'Tmp1'.
2 parents bc77701 + ff9ecd4 commit 703df32

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,5 @@ luac.out
3939
*.x86_64
4040
*.hex
4141

42+
#directories
43+
tmp

X7.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ NoTelem = { 36, 55, "No Telemetry", BLINK }
7979
local INTERVAL = 100 -- 100 = 1 second, 200 = 2 seconds, ...
8080
local MSP_SET_RTC = 246
8181
local MSP_TX_INFO = 186
82-
local sensorName = "VFAS"
82+
local sensorName = "Tmp1" -- T1 is never 0 in Betaflight
8383

8484
local lastRunTS
8585
local oldSensorValue

X9.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ NoTelem = { 70, 55, "No Telemetry", BLINK }
8080
local INTERVAL = 100 -- 100 = 1 second, 200 = 2 seconds, ...
8181
local MSP_SET_RTC = 246
8282
local MSP_TX_INFO = 186
83-
local sensorName = "VFAS"
83+
local sensorName = "Tmp1" -- T1 is never 0 in Betaflight
8484

8585
local lastRunTS
8686
local oldSensorValue

0 commit comments

Comments
 (0)