move LVGL framebuffer into PSRAM
This commit is contained in:
@@ -114,7 +114,6 @@ void IRAM_ATTR bma_irq( void ) {
|
||||
{
|
||||
portYIELD_FROM_ISR ();
|
||||
}
|
||||
setCpuFrequencyMhz( 240 );
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -125,7 +124,9 @@ void bma_loop( TTGOClass *ttgo ) {
|
||||
* handle IRQ event
|
||||
*/
|
||||
if ( xEventGroupGetBitsFromISR( bma_event_handle ) & BMA_EVENT_INT ) {
|
||||
while( !ttgo->bma->readInterrupt() );
|
||||
setCpuFrequencyMhz(240);
|
||||
|
||||
while( !ttgo->bma->readInterrupt() );
|
||||
if ( ttgo->bma->isDoubleClick() ) {
|
||||
powermgm_set_event( POWERMGM_BMA_WAKEUP );
|
||||
xEventGroupClearBitsFromISR( bma_event_handle, BMA_EVENT_INT );
|
||||
|
||||
Reference in New Issue
Block a user