clean up prints

This commit is contained in:
Siwat Sirichai 2023-09-12 12:19:16 +07:00
parent fb6484bdf2
commit cfd220ea1a
1 changed files with 0 additions and 11 deletions

View File

@ -307,12 +307,6 @@ void eeprom_retrieve_init()
strcat(PWM_VALUE_TOPIC, "/pwm/00/value");
memcpy(INPUTS_TOPIC, MQTT_BASE_TOPIC, 20);
strcat(INPUTS_TOPIC, "/input/00");
Serial.println(PWM_STATE_TOPIC);
Serial.println(PWM_VALUE_TOPIC);
Serial.println(PWM_SET_STATE_TOPIC);
Serial.println(PWM_SET_VALUE_TOPIC);
Serial.print("BTLEN: ");
Serial.println(base_topic_length);
}
void io_begin()
@ -928,9 +922,6 @@ void trigger13()
set_basetopic(panel.readStr("topic_set.txt"));
uint16_t port = panel.readNumber("port_set.val");
mqtt_port_set(port);
Serial.println("NEWPORT:");
Serial.println(port);
delay(100);
ESP.restart();
}
@ -941,14 +932,12 @@ void eeprom_pwm_update()
{
memcpy(pwm_states_eeprom, pwm_states, 16);
ESPMega_EEPROM.writeBlock(3, pwm_states_eeprom, 16);
Serial.println("EEPROM PWM UPDATE STATE!");
lcd_send_stop_bit();
}
if (memcmp(pwm_values, pwm_values_eeprom, 32))
{
memcpy(pwm_values_eeprom, pwm_values, 32);
ESPMega_EEPROM.writeBlock(19, pwm_values_eeprom, 32);
Serial.println("EEPROM PWM UPDATE VALUE!");
lcd_send_stop_bit();
}
}