chore: formatting of telemetry structs for readability (#4753)
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "opentx.h"
|
||||
|
||||
// clang-format off
|
||||
#define CS(id,subId,name,unit,precision) {id,subId,unit,precision,name}
|
||||
|
||||
const CrossfireSensor crossfireSensors[] = {
|
||||
@@ -57,8 +58,9 @@ const CrossfireSensor crossfireSensors[] = {
|
||||
CS(FLIGHT_MODE_ID, 0, STR_SENSOR_FLIGHT_MODE, UNIT_TEXT, 0),
|
||||
CS(CF_VARIO_ID, 0, STR_SENSOR_VSPD, UNIT_METERS_PER_SECOND, 2),
|
||||
CS(BARO_ALT_ID, 0, STR_SENSOR_ALT, UNIT_METERS, 2),
|
||||
CS(0, 0, "UNKNOWN", UNIT_RAW, 0),
|
||||
CS(0, 0, "UNKNOWN", UNIT_RAW, 0),
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
const CrossfireSensor & getCrossfireSensor(uint8_t id, uint8_t subId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user