nyx: Split T210B01 fuse dumping for better readability

This commit is contained in:
CTCaer 2020-12-28 05:30:34 +02:00
parent ed916360eb
commit 6663330de3

View file

@ -204,8 +204,11 @@ static lv_res_t _fuse_dump_window_action(lv_obj_t * btn)
}
else
{
emmcsn_path_impl(path, "/dumps", "fuse_cached_t210b01.bin", NULL);
error = sd_save_to_file((u8 *)0x7000F898, 0x368, path);
emmcsn_path_impl(path, "/dumps", "fuse_cached_t210b01_part0.bin", NULL);
error = sd_save_to_file((u8 *)0x7000F898, 0x68, path);
emmcsn_path_impl(path, "/dumps", "fuse_cached_t210b01_part1.bin", NULL);
if (!error)
error = sd_save_to_file((u8 *)0x7000F900, 0x300, path);
}
u32 words[fuse_array_size_t210b01 / sizeof(u32)];