Compare commits
No commits in common. "master" and "f103" have entirely different histories.
|
@ -4,7 +4,7 @@
|
||||||
"C_Cpp_Runner.debuggerPath": "gdb",
|
"C_Cpp_Runner.debuggerPath": "gdb",
|
||||||
"C_Cpp_Runner.cStandard": "",
|
"C_Cpp_Runner.cStandard": "",
|
||||||
"C_Cpp_Runner.cppStandard": "",
|
"C_Cpp_Runner.cppStandard": "",
|
||||||
"C_Cpp_Runner.msvcBatchPath": "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvarsall.bat",
|
"C_Cpp_Runner.msvcBatchPath": "C:/Program Files/Microsoft Visual Studio/VR_NR/Community/VC/Auxiliary/Build/vcvarsall.bat",
|
||||||
"C_Cpp_Runner.useMsvc": false,
|
"C_Cpp_Runner.useMsvc": false,
|
||||||
"C_Cpp_Runner.warnings": [
|
"C_Cpp_Runner.warnings": [
|
||||||
"-Wall",
|
"-Wall",
|
||||||
|
|
|
@ -299,10 +299,6 @@ void tmc2240_motor_set_angle(tmc2240_index_e index, int32_t angle)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
tmc->params.enable = FALSE;
|
|
||||||
_tmc2240_enable(index, tmc->params.enable);
|
|
||||||
tmc->motor.pulse_count = 0;
|
|
||||||
|
|
||||||
if (angle > 0)
|
if (angle > 0)
|
||||||
{
|
{
|
||||||
tmc->params.direction = TMC2240_FORWARD;
|
tmc->params.direction = TMC2240_FORWARD;
|
||||||
|
|
Loading…
Reference in New Issue