Endless switch mode bugfix
This commit is contained in:
parent
920eeb1f84
commit
4e99417d29
|
@ -72,7 +72,6 @@ void setup() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
switchMode();
|
|
||||||
if (!mode) {// transmit
|
if (!mode) {// transmit
|
||||||
for (int i = 0; i < micValuesLength; i ++) {
|
for (int i = 0; i < micValuesLength; i ++) {
|
||||||
micValues[i] = analogRead(micPin) << 2;
|
micValues[i] = analogRead(micPin) << 2;
|
||||||
|
|
Loading…
Reference in New Issue