Skip to content

Commit 51f5300

Browse files
committedFeb 19, 2018
typofix
1 parent ca965bc commit 51f5300

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed
 

‎main/input.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ void pollstick() {
2222
decideGear(wantedGear);
2323

2424
if ( autoState == HIGH ) {
25-
fullAuto = off;
26-
} else {
27-
fullAuto = on;
25+
fullAuto = false;
26+
} else {
27+
fullAuto = false;
2828
}
29-
29+
3030
if ( debugEnabled && wantedGear != gear ) {
3131
Serial.println("pollstick: Stick says: ");
3232
Serial.print(whiteState);

‎main/main.ino

-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ void setup() {
6565
}
6666

6767
void loop() {
68-
checkHealth();
6968
if ( stick ) { pollstick(); } // using stick
7069
if ( manual ) { pollkeys(); } // using manual control
7170
if ( trans ) { polltrans(); } // using transmission

‎main/ui.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void draw(void) {
4949
void rpmMeterUpdate() {
5050
int rpmValue = rpmRead();
5151
int rpmPWM = map(rpmValue,0,6500,0,255);
52-
analogWrite(rpmMeter, rpmPWM)
52+
analogWrite(rpmMeter, rpmPWM);
5353
}
5454

5555
// Display update

0 commit comments

Comments
 (0)
Please sign in to comment.