mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-20 14:38:18 +08:00
Set endstop state according to config_
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
Endstop::Endstop(EndstopConfig_t &config)
|
||||
: config_(config) {
|
||||
set_endstop_enabled(config_.enabled);
|
||||
}
|
||||
|
||||
static void endstop_cb_wrapper(void* ctx){
|
||||
|
||||
Reference in New Issue
Block a user