chore: formatting of telemetry structs for readability (#4753)

This commit is contained in:
HThuren
2024-03-18 10:27:53 +10:00
committed by GitHub
parent ac3c46a759
commit 5b4b3aa09a
9 changed files with 99 additions and 82 deletions
+2
View File
@@ -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)
{