more tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user