From 331110639e23336042c4ca88cee878c7dd27a899 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 22 Jan 2024 13:24:58 +1100 Subject: [PATCH] AP_HAL_ChibiOS: rename COMPASS_TYPEMASK to COMPASS_DISBLMSK this is a very confusingly named parameter. I've seen several instances of people treating this as an enable mask rather than a disable mask --- libraries/AP_HAL_ChibiOS/hwdef/CubeGreen-solo/defaults.parm | 2 +- libraries/AP_HAL_ChibiOS/hwdef/CubeSolo/defaults.parm | 2 +- libraries/AP_HAL_ChibiOS/hwdef/luminousbee5/defaults.parm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeGreen-solo/defaults.parm b/libraries/AP_HAL_ChibiOS/hwdef/CubeGreen-solo/defaults.parm index 221f9f39c8..127840bf7f 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeGreen-solo/defaults.parm +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeGreen-solo/defaults.parm @@ -49,7 +49,7 @@ BRD_SAFETY_MASK,16368 BRD_SAFETYENABLE,0 CIRCLE_RADIUS,3000 COMPASS_ORIENT,38 -COMPASS_TYPEMASK,15392 +COMPASS_DISBLMSK,15392 COMPASS_USE3,0 EK2_ENABLE,0 EK3_ENABLE,1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeSolo/defaults.parm b/libraries/AP_HAL_ChibiOS/hwdef/CubeSolo/defaults.parm index 0d9f096110..0130fe56f9 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeSolo/defaults.parm +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeSolo/defaults.parm @@ -50,7 +50,7 @@ BRD_SAFETYENABLE,0 BRD_TYPE,3 CIRCLE_RADIUS,3000 COMPASS_ORIENT,38 -COMPASS_TYPEMASK,15392 +COMPASS_DISBLMSK,15392 COMPASS_USE3,0 EK2_ENABLE,0 EK3_ENABLE,1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/luminousbee5/defaults.parm b/libraries/AP_HAL_ChibiOS/hwdef/luminousbee5/defaults.parm index 1d59bcecee..f350e21253 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/luminousbee5/defaults.parm +++ b/libraries/AP_HAL_ChibiOS/hwdef/luminousbee5/defaults.parm @@ -54,7 +54,7 @@ CAN_D2_PROTOCOL,0 COMPASS_AUTODEC,1 COMPASS_EXTERNAL,1 COMPASS_ORIENT,12 -COMPASS_TYPEMASK,510846 +COMPASS_DISBLMSK,510846 COMPASS_USE2,0 COMPASS_USE3,0 COMPASS_CAL_FIT,16