mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00: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
|
#endif
|
||||||
|
|
||||||
DEFINE_PARAMETERS(
|
DEFINE_PARAMETERS(
|
||||||
(ParamBool<px4::params::SYS_STCK_EN>) _stack_check_enabled
|
(ParamBool<px4::params::SYS_STCK_EN>) _param_sys_stck_en
|
||||||
)
|
)
|
||||||
|
|
||||||
work_s _work{};
|
work_s _work{};
|
||||||
@@ -170,7 +170,7 @@ void LoadMon::_cycle()
|
|||||||
|
|
||||||
#ifdef __PX4_NUTTX
|
#ifdef __PX4_NUTTX
|
||||||
|
|
||||||
if (_stack_check_enabled.get()) {
|
if (_param_sys_stck_en.get()) {
|
||||||
_stack_usage();
|
_stack_usage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user