3DShell icon indicating copy to clipboard operation
3DShell copied to clipboard

Allow FTP to keep running while lid is closed

Open bandreghetti opened this issue 6 years ago • 3 comments

This feature would be very nice. The open lid with bottom screen lit up consumes a lot of battery unnecessarily! "/

Thank you for this amazing app, by the way!

bandreghetti avatar Jan 18 '19 00:01 bandreghetti

I would but this issue still exists: https://github.com/smealum/ctrulib/issues/286

joel16 avatar Jan 18 '19 07:01 joel16

I was looking into the ftp code to see how it was implemented and saw that you can press START to turn off both screens and start again if you want to turn them on afterward.

On ftp.c line 2077 and ownward:

/* check if the user wants to toggle the LCD power */
if(down & KEY_START)
{
    lcd_power = !lcd_power;`
    apt_hook(APTHOOK_ONRESTORE, NULL);
}

MarcoMartins86 avatar Jan 20 '19 22:01 MarcoMartins86