mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
fixed bugs in multistepper: eeprom in flash + adc, tested on TMC2130, but don't work on TMC2230
This commit is contained in:
@@ -54,6 +54,8 @@ int fn_dumperr(_U_ uint32_t hash, _U_ char *args) WAL; // "dumperr" (1223989764
|
||||
|
||||
int fn_dumpmotflags(_U_ uint32_t hash, _U_ char *args) WAL; // "dumpmotflags" (36159640)
|
||||
|
||||
int fn_dumpstates(_U_ uint32_t hash, _U_ char *args) WAL; // "dumpstates" (4235564367)
|
||||
|
||||
int fn_emstop(_U_ uint32_t hash, _U_ char *args) WAL; // "emstop" (2965919005)
|
||||
|
||||
int fn_eraseflash(_U_ uint32_t hash, _U_ char *args) WAL; // "eraseflash" (3177247267)
|
||||
@@ -205,6 +207,9 @@ int parsecmd(const char *str){
|
||||
case CMD_DUMPMOTFLAGS:
|
||||
return fn_dumpmotflags(h, args);
|
||||
break;
|
||||
case CMD_DUMPSTATES:
|
||||
return fn_dumpstates(h, args);
|
||||
break;
|
||||
case CMD_EMSTOP:
|
||||
return fn_emstop(h, args);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user