mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-19 14:08:38 +08:00
Merge pull request #176 from kaspar030/pr/fix_config_restore
small odrivetool restore-config fix
This commit is contained in:
@@ -71,7 +71,7 @@ def restore_config(device, filename, logger):
|
||||
data = json.load(file)
|
||||
|
||||
logger.info("Restoring configuration from {}...".format(filename))
|
||||
errors = odrive.configuration.set_dict(device, "", data)
|
||||
errors = set_dict(device, "", data)
|
||||
|
||||
for error in errors:
|
||||
logger.info(error)
|
||||
|
||||
Reference in New Issue
Block a user