1
0
Fork 0
forked from len0rd/rockbox

nwztools: add a "reset all settings" message in dest_tool

Users can't read the wiki instructions, hopefully they can read this...

Change-Id: I3840879fdc663fb6e7f9234f352eea04a556256a
This commit is contained in:
Amaury Pouly 2017-01-09 22:15:53 +01:00
parent 90284b6fe0
commit 1d7f6048f4

View file

@ -801,6 +801,10 @@ int do_dest(int argc, char **argv)
set_little_endian32(shp + 4, sps);
int ret = write_nvp_node(shp_index, shp, size);
free(shp);
if(ret != 0)
printf("An error occured when writing node: %d\n", ret);
else
printf("Destination successfully changed.\nPlease RESET ALL SETTINGS on your device!\n");
return ret;
}
return 0;