bt call and pairing dialog. powermgm refactoring

This commit is contained in:
sharandac
2020-08-14 15:40:34 +02:00
parent 174ab77d2f
commit 46122f4c1a
19 changed files with 1145 additions and 173 deletions

View File

@@ -127,7 +127,7 @@ void bma_loop( TTGOClass *ttgo ) {
if ( xEventGroupGetBitsFromISR( bma_event_handle ) & BMA_EVENT_INT ) {
while( !ttgo->bma->readInterrupt() );
if ( ttgo->bma->isDoubleClick() ) {
powermgm_set_event( POWERMGM_BMA_WAKEUP );
powermgm_set_event( POWERMGM_BMA_DOUBLECLICK );
xEventGroupClearBitsFromISR( bma_event_handle, BMA_EVENT_INT );
return;
}