diff --git a/etc/examples/hooks/ebm.conf b/etc/examples/hooks/ebm.conf index 6c268dfea..61de4d024 100644 --- a/etc/examples/hooks/ebm.conf +++ b/etc/examples/hooks/ebm.conf @@ -8,6 +8,12 @@ paths = ( hooks = ( { type = "ebm" + + phases = ( + [ 0, 1 ], + [ 2, 3 ], + [ 4, 5 ] + ) } ) } diff --git a/lib/hooks/ebm.cpp b/lib/hooks/ebm.cpp index 4f35131f0..bc2075c39 100644 --- a/lib/hooks/ebm.cpp +++ b/lib/hooks/ebm.cpp @@ -74,6 +74,8 @@ public: phases.emplace_back(voltage, current); } + + state = STATE_PARSED; } virtual void start()