Skip to content

Commit 16346d7

Browse files
committed
Feature: Lock it up! (fix on dir)
1 parent ac6e159 commit 16346d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/yatuli.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ void Yatuli::_osadc(void) {
180180
****************************************************************************/
181181
int8_t Yatuli::dir(void) {
182182
// lock flag
183-
if (lock) return;
183+
if (lock) return 0;
184184

185185
// internal var
186186
static int16_t lastAdcDir = adc;

0 commit comments

Comments
 (0)