修复电机反转bug,添加部分注释

This commit is contained in:
kai
2024-01-17 18:57:26 +08:00
parent 6f22c0ac30
commit 2ecea006f0
7 changed files with 44 additions and 25 deletions

4
.vscode/launch.json vendored
View File

@@ -47,8 +47,8 @@
"liveWatch": {
"enabled": true,
"samplesPerSecond": 4
}
//"preLaunchTask": "log", // 调试时同时开启RTT viewer窗口,若daplink使用jlinkGDBserver启动,需要先开始调试再打开log
},
// "preLaunchTask": "log", // 调试时同时开启RTT viewer窗口,若daplink使用jlinkGDBserver启动,需要先开始调试再打开log
// 若想要在调试前编译并且打开log,可只使用log的prelaunch task并为log任务添加depends on依赖
},
{

View File

@@ -1,5 +1,8 @@
{
"files.associations": {
"stm32f4xx_hal_def.h": "c"
"stm32f4xx_hal_def.h": "c",
"general_def.h": "c",
"stdlib.h": "c",
"bsp_can.h": "c"
}
}

6
.vscode/tasks.json vendored
View File

@@ -36,9 +36,9 @@
"command":"JlinkRTTClient",
"args": [],
"problemMatcher": [],
// "dependsOn":[
// "build task", // 可以添加多个.
// ]
"dependsOn":[
"build task", // 可以添加多个.
]
// 若使用daplink,则将log任务设置为依赖于jlink launch任务,保证jlink launch任务先于log任务执行
}
]