mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 18:29:56 +00:00
oops - fix my crummy merge
This commit is contained in:
parent
cc36e3a9a6
commit
c427c8abf9
12
src/main.cpp
12
src/main.cpp
@ -250,6 +250,18 @@ class ButtonThread : public OSThread
|
|||||||
disablePin();
|
disablePin();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void userButtonPressedLongStart()
|
||||||
|
{
|
||||||
|
DEBUG_MSG("Long press start!\n");
|
||||||
|
longPressTime = millis();
|
||||||
|
}
|
||||||
|
|
||||||
|
static void userButtonPressedLongStop()
|
||||||
|
{
|
||||||
|
DEBUG_MSG("Long press stop!\n");
|
||||||
|
longPressTime = 0;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static Periodic *ledPeriodic;
|
static Periodic *ledPeriodic;
|
||||||
|
Loading…
Reference in New Issue
Block a user