mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
translate ASPD_STALL to FW_AIRSPD_STALL
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
parent
bf311ed77d
commit
2f73115b54
@ -164,6 +164,14 @@ bool param_modify_on_import(bson_node_t node)
|
||||
}
|
||||
}
|
||||
|
||||
// 2021-04-30: translate ASPD_STALL to FW_AIRSPD_STALL
|
||||
{
|
||||
if (strcmp("ASPD_STALL", node->name) == 0) {
|
||||
strcpy(node->name, "FW_AIRSPD_STALL");
|
||||
PX4_INFO("copying %s -> %s", "ASPD_STALL", "FW_AIRSPD_STALL");
|
||||
}
|
||||
}
|
||||
|
||||
// translate (SPI) calibration ID parameters. This can be removed after the next release (current release=1.10)
|
||||
|
||||
if (node->type != BSON_INT32) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user