Skip to content

Commit

Permalink
send pan0 if not in cli mode and home is set
Browse files Browse the repository at this point in the history
  • Loading branch information
raul-ortega committed Dec 26, 2016
1 parent 685ff82 commit 0fcbbc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/tracker/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,8 @@ void updateTracking(void){

} else {
OFFSET_TRIM_STATE = TRIM_STATE_DISABLED;
pwmWritePanServo(masterConfig.pan0);
if(homeSet && !cliMode )
pwmWritePanServo(masterConfig.pan0);
}
}
}
Expand Down

0 comments on commit 0fcbbc6

Please sign in to comment.