diff --git a/sdk b/sdk index c13f0f7..9f2fd2e 160000 --- a/sdk +++ b/sdk @@ -1 +1 @@ -Subproject commit c13f0f786605b749458956e3b77c66b065315c7a +Subproject commit 9f2fd2e2c684b6a7c09bfa5c6f5ae38a44e21d1b diff --git a/usrc/main.cpp b/usrc/main.cpp index 35f6880..ac14131 100644 --- a/usrc/main.cpp +++ b/usrc/main.cpp @@ -94,8 +94,8 @@ void umain() { ZLOGI(TAG, "motora initialize 5160:%x ", g_motor.readICVersion()); } - g_motor.setAcceleration(300000); - g_motor.setDeceleration(300000); + g_motor.setAcceleration(100); + g_motor.setDeceleration(100); g_motor.setIHOLD_IRUN(0, 8, 10); g_motor.rotate(0);