Move Endstop's config struct into the class to unify the style

This commit is contained in:
Unknown
2018-09-27 20:45:39 -04:00
parent dc693ebd9c
commit 41224a4a41
3 changed files with 21 additions and 26 deletions
+1 -1
View File
@@ -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);
}