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
@@ -144,6 +144,7 @@ enum
AFHDS2A_ID_END = 0xFF,
};
// clang-format off
#define FS(type,name,unit,precision) {type,unit,precision,name}
const FlySkySensor flySkySensors[] = {
@@ -199,6 +200,7 @@ const FlySkySensor flySkySensors[] = {
FS( 0x00, NULL, UNIT_RAW, 0 ), // sentinel
};
// clang-format on
int32_t getALT(uint32_t value);
inline int setFlyskyTelemetryValue( int16_t type, uint8_t instance, int32_t value, uint32_t unit, uint32_t prec)