Endless switch mode bugfix

This commit is contained in:
leca 2023-07-14 03:02:57 +03:00
parent 920eeb1f84
commit 4e99417d29
1 changed files with 0 additions and 1 deletions

View File

@ -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;