mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-22 08:04:07 +08:00
fix return value
This commit is contained in:
@@ -332,7 +332,7 @@ bool Motor::setup() {
|
||||
max_dc_calib_ = 0.1f * max_allowed_current_;
|
||||
|
||||
if (!gate_driver_.init())
|
||||
return true;
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user