more tweaks

This commit is contained in:
sharandac
2020-07-24 14:28:59 +02:00
parent cedb825ee6
commit 8ca3f25292
9 changed files with 48 additions and 13 deletions

View File

@@ -24,7 +24,7 @@
#define PMU_EVENT_AXP_INT _BV(0)
#define PMU_BATTERY_CAP 350
#define PMU_BATTERY_CAP 300
/*
* @brief setup pmu: axp202

View File

@@ -39,7 +39,8 @@ static bool touch_getXY( int16_t &x, int16_t &y ) {
if ( !ttgo->touch->touched() ) {
return false;
}
}
p = ttgo->touch->getPoint();
uint8_t rotation = ttgo->tft->getRotation();

View File

@@ -247,7 +247,7 @@ void wifictl_Task( void * pvParameters ) {
return;
while( true ) {
vTaskDelay( 500 );
vTaskDelay( 125 );
if ( powermgm_get_event( POWERMGM_WIFI_ON_REQUEST ) ) {
statusbar_wifi_set_state( true, "activate" );
WiFi.mode( WIFI_STA );