mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 22:20:35 +08:00
module template: update to use the new Param classes
This commit is contained in:
@@ -162,8 +162,7 @@ Module *Module::instantiate(int argc, char *argv[])
|
||||
}
|
||||
|
||||
Module::Module(int example_param, bool example_flag)
|
||||
: SuperBlock(nullptr, "MOD"),
|
||||
_sys_autostart(this, "SYS_AUTOSTART", false)
|
||||
: ModuleParams(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user