diff --git a/src/boards/HeliTest/PinObserverWrapper.h b/src/boards/HeliTest/PinObserverWrapper.h index 0ea17f819671c0af8561833b49d97779b006b9a1..f77a03babf0a939586d6a642318721043c579bb6 100644 --- a/src/boards/HeliTest/PinObserverWrapper.h +++ b/src/boards/HeliTest/PinObserverWrapper.h @@ -56,10 +56,16 @@ public: ~PinObserverWrapper() {} - bool start() { return observer.start(); } + bool start(unsigned int stacksize = miosix::STACK_DEFAULT_FOR_PTHREAD, + miosix::Priority priority = miosix::MAIN_PRIORITY) { return observer.start(stacksize, priority); } void stop() { observer.stop(); } + PinStatus getPinStatus() + { + return status; + } + private: void onTransitionCallback(unsigned int p, unsigned char n) {