chore: formatting of telemetry structs for readability (#4753)
This commit is contained in:
@@ -30,6 +30,7 @@ struct MLinkSensor
|
||||
const char * name;
|
||||
};
|
||||
|
||||
// clang-format off
|
||||
#define MS(id,name,unit,precision) {id,unit,precision,name}
|
||||
|
||||
const MLinkSensor mlinkSensors[] = {
|
||||
@@ -53,6 +54,7 @@ const MLinkSensor mlinkSensors[] = {
|
||||
MS(MLINK_TX_RSSI, STR_SENSOR_TX_RSSI, UNIT_RAW, 0),
|
||||
MS(MLINK_TX_LQI, STR_SENSOR_TX_QUALITY, UNIT_RAW, 0),
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
const MLinkSensor * getMLinkSensor(uint16_t id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user