add init stage 2

This commit is contained in:
cheykrym 2026-03-30 04:05:34 +03:00
parent 2c1e20ee0a
commit 3d26efd6ea

View File

@ -22,6 +22,7 @@ void runStartupChecks() {
// Этап 1: Проверка джойстика
oledSetStage(1, TOTAL_STAGES);
bool joyOk = joyInit();
// irInit();
oledShowMain(joyOk ? "Joystick: OK" : "Joystick: NOT FOUND",
"IR: NOT FOUND",
"", "");
@ -62,11 +63,9 @@ void setup() {
// Запуск проверок
runStartupChecks();
// faceInit();
actuatorsInit();
webServerInit();
wsInit();
// irInit();
robot.lastCmdMs = millis();
}