other button to start config mode
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user