Fixed variable declaration whitespace
This commit is contained in:
parent
3e7b4c50c1
commit
f2abdb9725
|
@ -53,28 +53,29 @@ void setup()
|
||||||
// needs to change, slowing things down tremendously.
|
// needs to change, slowing things down tremendously.
|
||||||
uint8_t
|
uint8_t
|
||||||
buffer[256],
|
buffer[256],
|
||||||
indexIn = 0,
|
indexIn = 0,
|
||||||
indexOut = 0,
|
indexOut = 0,
|
||||||
mode = MODE_HEADER,
|
mode = MODE_HEADER,
|
||||||
hi, lo, chk, i, spiFlag;
|
hi, lo, chk, i, spiFlag;
|
||||||
int16_t
|
int16_t
|
||||||
bytesBuffered = 0,
|
bytesBuffered = 0,
|
||||||
hold = 0,
|
hold = 0,
|
||||||
c;
|
c;
|
||||||
int32_t
|
int32_t
|
||||||
bytesRemaining;
|
bytesRemaining;
|
||||||
unsigned long
|
unsigned long
|
||||||
startTime,
|
startTime,
|
||||||
lastByteTime,
|
lastByteTime,
|
||||||
lastAckTime,
|
lastAckTime,
|
||||||
t;
|
t;
|
||||||
int32_t outPos = 0;
|
int32_t
|
||||||
|
outPos = 0;
|
||||||
|
|
||||||
Serial.begin(SPEED); // Teensy/32u4 disregards baud rate; is OK!
|
Serial.begin(SPEED); // Teensy/32u4 disregards baud rate; is OK!
|
||||||
|
|
||||||
Serial.print("Ada\n"); // Send ACK string to host
|
Serial.print("Ada\n"); // Send ACK string to host
|
||||||
|
|
||||||
startTime = micros();
|
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
|
||||||
|
|
Loading…
Reference in New Issue