Use symbolic indexes for calibration data

Resolves #1083
This commit is contained in:
Raphael Coeffic
2021-11-26 17:31:57 +01:00
parent 5d5ceb4d88
commit 06c04c852a
32 changed files with 67 additions and 29 deletions
@@ -322,7 +322,7 @@ const struct YamlIdStr enum_TelemetrySensorType[] = {
//
static const struct YamlNode struct_CalibData[] = {
YAML_IDX,
YAML_IDX_CUST("calib",r_calib,w_calib),
YAML_SIGNED( "mid", 16 ),
YAML_SIGNED( "spanNeg", 16 ),
YAML_SIGNED( "spanPos", 16 ),