mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-23 09:03:40 +08:00
Move Endstop's config struct into the class to unify the style
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <odrive_main.h>
|
||||
|
||||
Endstop::Endstop(EndstopConfig_t &config)
|
||||
Endstop::Endstop(Endstop::Config_t &config)
|
||||
: config_(config) {
|
||||
set_endstop_enabled(config_.enabled);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user