merge new remote#2

This commit is contained in:
2022-09-30 09:49:47 +02:00
parent dd205539df
commit 6daf89c1f8
6 changed files with 13 additions and 2 deletions

View File

@@ -12,6 +12,11 @@ POWERSTATES lastState = off;
Button buttonPower(PWR_BTN, 250UL, 1U, 0);
extern OtaProcess_class ota;
Button* getPowerButton()
{
return &buttonPower;
}
void initPowerOn(void)
{
pinMode(PWR_HOLD, OUTPUT);