Исправлено выключение будильника, если он сработал при выключенной матрице; Добавлено обновление прошивки по воздуху

This commit is contained in:
gunner47
2019-07-16 22:55:39 +03:00
parent e1c537c971
commit 26afb403ba
6 changed files with 265 additions and 8 deletions

View File

@@ -43,6 +43,13 @@ void buttonTick()
delay(1);
}
if (ONflag && touch.isQuadruple())
{
#ifdef OTA
otaManager.RequestOtaUpdate();
#endif
}
if (ONflag && touch.isHolded())
{
brightDirection = !brightDirection;