This commit is contained in:
e2002
2022-03-03 12:34:19 +03:00
parent b60ba004f8
commit bb752f08a2
8 changed files with 204 additions and 3 deletions

View File

@@ -9,6 +9,7 @@
#include "network.h"
#include "netserver.h"
#include "controls.h"
#include "mqtt.h"
void setup() {
Serial.begin(115200);
@@ -30,6 +31,9 @@ void setup() {
player.setVol(config.store.volume, true);
display.start();
if(config.store.smartstart==1) player.play(config.store.lastStation);
#ifdef MQTT_HOST
mqttInit();
#endif
}
void loop() {