|
|
@ -42,12 +42,7 @@ static ZCanCommnaderMaster m_zcanCommnaderMaster; |
|
|
|
static ZIProtocolProxy proxy[255]; |
|
|
|
|
|
|
|
void initcfg() { |
|
|
|
/**
|
|
|
|
* @brief 初始化配置,系统中需要配置都需要在这里进行初始化 |
|
|
|
*/ |
|
|
|
static I_StepMotorCtrlModule::flash_config_t cfg; |
|
|
|
StepMotorCtrlModule::create_default_cfg(cfg); |
|
|
|
// ZNVS::ins().alloc_config(MOTOR_CFG_FLASH_MARK, (uint8_t*)&cfg, sizeof(cfg));
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
void initmodule() {} |
|
|
|