Use 4 space tab like a normal person
This commit is contained in:
parent
a6c46788df
commit
a2c5fee6ac
@ -42,7 +42,6 @@ void on_serial()
|
|||||||
pixels[index].b = read_byte;
|
pixels[index].b = read_byte;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// increment or loop
|
// increment or loop
|
||||||
if (read < BUF_SIZE-1) {
|
if (read < BUF_SIZE-1) {
|
||||||
read++;
|
read++;
|
||||||
@ -54,10 +53,8 @@ void on_serial()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
|
||||||
if (Serial.available() > 0) {
|
if (Serial.available() > 0) {
|
||||||
on_serial();
|
on_serial();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user