1
0
mirror of https://github.com/marqs85/ossc.git synced 2024-05-27 13:48:27 +00:00

restore profile import notification

This commit is contained in:
marqs 2018-11-07 23:39:25 +02:00
parent 978ac04a43
commit 9533428a92

View File

@ -248,6 +248,10 @@ int import_userdata()
usleep(WAITLOOP_SLEEP_US); usleep(WAITLOOP_SLEEP_US);
} }
strncpy(menu_row1, "Loading settings", LCD_ROW_LEN+1);
strncpy(menu_row2, "please wait...", LCD_ROW_LEN+1);
lcd_write_menu();
// Import the userdata // Import the userdata
for (n=0; n<=MAX_USERDATA_ENTRY; ++n) { for (n=0; n<=MAX_USERDATA_ENTRY; ++n) {
retval = SD_Read(&sdcard_dev, &header, (512+n*SECTORSIZE)/SD_BLK_SIZE, 0, sizeof(header)); retval = SD_Read(&sdcard_dev, &header, (512+n*SECTORSIZE)/SD_BLK_SIZE, 0, sizeof(header));