mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 15:27:35 +08:00
Parameter update - Rename variables in modules/load_mon
using parameter_update.py script
This commit is contained in:
@@ -110,7 +110,7 @@ private:
|
||||
#endif
|
||||
|
||||
DEFINE_PARAMETERS(
|
||||
(ParamBool<px4::params::SYS_STCK_EN>) _stack_check_enabled
|
||||
(ParamBool<px4::params::SYS_STCK_EN>) _param_sys_stck_en
|
||||
)
|
||||
|
||||
work_s _work{};
|
||||
@@ -170,7 +170,7 @@ void LoadMon::_cycle()
|
||||
|
||||
#ifdef __PX4_NUTTX
|
||||
|
||||
if (_stack_check_enabled.get()) {
|
||||
if (_param_sys_stck_en.get()) {
|
||||
_stack_usage();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user