Removed obsolete variables
This commit is contained in:
parent
04f773ef2f
commit
dff36ed0f6
|
@ -56,15 +56,13 @@ void setup()
|
||||||
indexIn = 0,
|
indexIn = 0,
|
||||||
indexOut = 0,
|
indexOut = 0,
|
||||||
mode = MODE_HEADER,
|
mode = MODE_HEADER,
|
||||||
hi, lo, chk, i, spiFlag;
|
hi, lo, chk, i;
|
||||||
int16_t
|
int16_t
|
||||||
bytesBuffered = 0,
|
bytesBuffered = 0,
|
||||||
hold = 0,
|
|
||||||
c;
|
c;
|
||||||
int32_t
|
int32_t
|
||||||
bytesRemaining;
|
bytesRemaining;
|
||||||
unsigned long
|
unsigned long
|
||||||
startTime,
|
|
||||||
lastByteTime,
|
lastByteTime,
|
||||||
lastAckTime,
|
lastAckTime,
|
||||||
t;
|
t;
|
||||||
|
@ -75,7 +73,6 @@ void setup()
|
||||||
|
|
||||||
Serial.print("Ada\n"); // Send ACK string to host
|
Serial.print("Ada\n"); // Send ACK string to host
|
||||||
|
|
||||||
startTime = micros();
|
|
||||||
lastByteTime = lastAckTime = millis();
|
lastByteTime = lastAckTime = millis();
|
||||||
|
|
||||||
// loop() is avoided as even that small bit of function overhead
|
// loop() is avoided as even that small bit of function overhead
|
||||||
|
@ -160,7 +157,6 @@ void setup()
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// End of data -- issue latch:
|
// End of data -- issue latch:
|
||||||
startTime = micros();
|
|
||||||
mode = MODE_HEADER; // Begin next header search
|
mode = MODE_HEADER; // Begin next header search
|
||||||
FastLED.show();
|
FastLED.show();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue