diff --git a/src/display.cpp b/src/display.cpp index aac01051..26fb3321 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -53,7 +53,6 @@ BB_SPI_LCD *dp = NULL; #endif #endif - #define DISPLAY_PAGE_PAX_PARAM_OVERVIEW 0 #define DISPLAY_PAGE_PAX_LORAWAN_PARAM 1 #define DISPLAY_PAGE_PAX_GPS_LAT_LONG 2 @@ -63,11 +62,6 @@ BB_SPI_LCD *dp = NULL; #define DISPLAY_PAGE_PAX_GRAPH 6 #define DISPLAY_PAGE_BLANK_SCREEN 7 - - - - - void dp_setup(int contrast) { #if (HAS_DISPLAY) == 1 // I2C OLED diff --git a/src/main.cpp b/src/main.cpp index c6b65945..c2b58964 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -84,8 +84,13 @@ char clientId[20] = {0}; // unique ClientID void setup() { char features[100] = ""; - // Reduce power consumption - setCpuFrequencyMhz(80); + // Reduce power consumption (optional) + // This reduces the power consumption with about 50 mWatt. + // Typically it uses 660 mWatt when the CPU frequency is set to 80 MHz. + // When left running at 240 mHz, the power consumption is about 710 - 730 mWatt. + // Higher CPU speed may be preferred for wifi & ble sniffing. + // + // setCpuFrequencyMhz(80); // disable brownout detection #ifdef DISABLE_BROWNOUT