解决编译问题,消除packed警告

This commit is contained in:
kidneygood
2022-11-19 14:30:32 +08:00
parent 0d94ff3f28
commit 6c56d4d19f
5 changed files with 29 additions and 87 deletions

View File

@@ -119,7 +119,7 @@ int main(void)
RC_init(&huart3);
DWT_Init(168);
Motor_Init_Config_s config = {
.motor_type = M3508,
.motor_type = M2006,
.can_init_config = {
.can_handle = &hcan1,
.tx_id = 1},