diff --git a/sdk b/sdk index bb019ca..108101c 160000 --- a/sdk +++ b/sdk @@ -1 +1 @@ -Subproject commit bb019caee2d1089382b2ffd4811d178e4d63fb02 +Subproject commit 108101c24780ceeabbd7dbaa380467fbabf0060a diff --git a/usrc/main.cpp b/usrc/main.cpp index 20d1221..694c098 100644 --- a/usrc/main.cpp +++ b/usrc/main.cpp @@ -150,7 +150,7 @@ void regfn() { // setzero // set4095 // moveto - +#if 0 cmdScheduler.registerCmd("mini_servo_set_zero", [](int argc, char** argv, CmdScheduler::CmdProcessContext* context) { CHECK_ARGC(1); int id = atoi(argv[1]); @@ -203,6 +203,7 @@ void regfn() { CHECK_ARGC(0); g_xyrobotctrlmodule->enable(false); }); +#endif } extern "C" { diff --git a/usrc/step_motor_cmd_reg.cpp b/usrc/step_motor_cmd_reg.cpp index a6f3817..2a27a60 100644 --- a/usrc/step_motor_cmd_reg.cpp +++ b/usrc/step_motor_cmd_reg.cpp @@ -61,6 +61,7 @@ static bool distance_mm_to_step(int motorid, float distance_mm, int32_t* distanc } void step_motor_cmd_reg() { +#if 0 cmdScheduler.registerCmd("help", // [](int argc, char** argv, CmdScheduler::CmdProcessContext* context) { ZLOGI(TAG, "do_help"); }); cmdScheduler.registerCmd("reset_board", // @@ -349,4 +350,5 @@ void step_motor_cmd_reg() { CHECK_ARGC(1); osDelay(atoi(argv[1])); }); +#endif }