Skip to content

Commit

Permalink
Feature: Lock it up! (fix on dir)
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevPavelmc committed May 29, 2017
1 parent ac6e159 commit 16346d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yatuli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void Yatuli::_osadc(void) {
****************************************************************************/
int8_t Yatuli::dir(void) {
// lock flag
if (lock) return;
if (lock) return 0;

// internal var
static int16_t lastAdcDir = adc;
Expand Down

0 comments on commit 16346d7

Please sign in to comment.