Skip to content

Commit

Permalink
v1.6.5 tagged
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-Plastix committed Jan 24, 2022
1 parent 3e521ec commit 3bbefc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main/configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// -----------------------------------------------------------------------------

#define APP_NAME "Helium TTGO"
#define APP_VERSION "1.6.4 MaxP"
#define APP_VERSION "1.6.5 MaxP"

// -----------------------------------------------------------------------------
// Less common Configuration iteams
Expand Down
4 changes: 3 additions & 1 deletion main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,10 @@ void setup() {
if (0 && wakeCause == ESP_SLEEP_WAKEUP_TIMER)
ssd1306_found = false; // forget we even have the hardware

// This creates the display object, so if we don't call it.. all screen ops are do-nothing.
if (ssd1306_found)
screen_setup();
is_screen_on = true;

// GPS power on, so it has time to setttle.
axp.setPowerOutPut(AXP192_LDO3, AXP202_ON);
Expand Down Expand Up @@ -745,7 +747,7 @@ void update_activity() {
is_screen_on = false;
screen_off();
}
} else {
} else { // Else we had some recent activity. Turn on?
if (!is_screen_on && !screen_stay_off) {
is_screen_on = true;
screen_on();
Expand Down

0 comments on commit 3bbefc6

Please sign in to comment.