mirror of
https://github.com/marqs85/ossc
synced 2025-04-18 02:52:38 +03:00
restore profile import notification
This commit is contained in:
parent
978ac04a43
commit
9533428a92
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user