Skip to content

Commit

Permalink
speed down cpu while charging idle
Browse files Browse the repository at this point in the history
  • Loading branch information
pebri86 committed Dec 31, 2019
1 parent f2d9125 commit c651b8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion esplay-launcher/main/graphics.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ static const char gfxTile[]={
#define GFX_O_CHG 2
#define GFX_O_CHGNEARFULL 3

const char * chargeinfo = "Press A to Play";
const char * chargeinfo = "Hold A Button to Play";

void renderGraphics(int dx, int dy, int sx, int sy, int sw, int sh)
{
Expand Down
2 changes: 1 addition & 1 deletion esplay-launcher/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static void handleCharging() {
guiCharging(0);

//Speed down
rtc_clk_cpu_freq_set(RTC_CPU_FREQ_80M);
rtc_clk_cpu_freq_set(RTC_CPU_FREQ_2M);
input_gamepad_state prevKey;
gamepad_read(&prevKey);
do {
Expand Down

0 comments on commit c651b8b

Please sign in to comment.