Commit Graph
2 Commits
Author SHA1 Message Date
Hans Christian Olaussen 94e50f146a Prevent running crossfire.lua if crossfire not available
Checks if crossfire is available before running crossfire.lua. Exits the script and shows an error message if not.
2020-12-15 22:43:37 +01:00
Hans Christian OlaussenandBertrand Songis c9c33fd737 LUA sport/crossfireTelemetryPush protocol detection (#7229)
Make sportTelemetryPush/crossfireTelemetryPush return nil if they detect the wrong telemetry protocol.
This allows us to differentiate between wrong protocol and telemetry buffer not available. For lua scripts supporting both crossfire and smartport this will let us reliably detect the telemetry protocol using these functions.
2019-12-23 11:05:11 +01:00