mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-27 22:38:10 +08:00
Merge branch 'master' of github.com:madcowswe/ODrive
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