SWR now only available in debug screens (not a telemetry sensor)

This commit is contained in:
Bertrand Songis
2016-05-31 20:23:09 +02:00
parent 61420db3ff
commit 52e59fc85b
5 changed files with 28 additions and 16 deletions
+2 -1
View File
@@ -276,7 +276,8 @@ PACK(struct FrskyTelemetryData {
#else
#define IS_VALID_XJT_VERSION() (1)
#endif
#define IS_HIDDEN_TELEMETRY_VALUE(id) ((id == SP2UART_A_ID) || (id == SP2UART_B_ID) || (id == XJT_VERSION_ID) || ((id == SWR_ID) && !IS_VALID_XJT_VERSION()))
#define IS_HIDDEN_TELEMETRY_VALUE(id) ((id == SP2UART_A_ID) || (id == SP2UART_B_ID) || (id == XJT_VERSION_ID) || (id == SWR_ID))
enum AlarmLevel {
alarm_off = 0,