We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75686fe commit 0f84f20Copy full SHA for 0f84f20
source/menus/menu_ftp.c
@@ -29,6 +29,12 @@ void Menu_DisplayFTP(void)
29
30
ret = gethostname(hostname, sizeof(hostname));
31
32
+ if (R_SUCCEEDED(gspLcdInit()))
33
+ {
34
+ GSPLCD_PowerOffBacklight(GSPLCD_SCREEN_TOP);
35
+ gspLcdExit();
36
+ }
37
+
38
while(MENU_STATE == MENU_STATE_FTP)
39
{
40
ftp_loop();
@@ -91,6 +97,13 @@ void Menu_DisplayFTP(void)
91
97
memset(ftp_accepted_connection, 0, 20); // Empty accepted connection address
92
98
memset(ftp_file_transfer, 0, 50); // Empty transfer status
93
99
ftp_exit();
100
101
102
103
+ GSPLCD_PowerOnBacklight(GSPLCD_SCREEN_TOP);
104
105
106
94
107
MENU_STATE = MENU_STATE_HOME;
95
108
Dirbrowse_PopulateFiles(true);
96
109
}
0 commit comments