mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-25 11:06:48 +08:00
enable triggering of parameter-less functions
This commit is contained in:
@@ -51,6 +51,12 @@ void loop() {
|
||||
if (!success)
|
||||
Serial.println("error");
|
||||
|
||||
success = odrive::trigger<odrive::SAVE_CONFIGURATION>(odrive_num);
|
||||
if (!success)
|
||||
Serial.println("error");
|
||||
else
|
||||
Serial.println("saved config");
|
||||
|
||||
delay(500);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user