other button to start config mode

This commit is contained in:
2024-05-19 21:47:31 +02:00
parent d9fd18d799
commit d9769c6b28
2 changed files with 14 additions and 9 deletions

View File

@ -20,10 +20,6 @@ static uint8_t buttonsMoveLeftPressed() {
return res;
}
bool isConfigMode() {
return (P2IN & BIT4);
}
bool buttonsConfig1Pressed() {
return buttonsMoveLeftPressed();
}
@ -69,6 +65,11 @@ static uint8_t buttonsMoveDownPressed() {
return P2IN & BIT2;
}
bool isConfigMode() {
return (P2IN & BIT2);
}
void buttonsExec(void *handle) {
static uint32_t unmuteTimestamp;
uint32_t currentTimestamp = getSeconds();