No need to actually save non-existent EEPROM configuration

This commit is contained in:
Cacodemon345
2022-11-14 21:11:26 +06:00
parent 31a1cebed8
commit c9a8ce1356

View File

@@ -1453,6 +1453,7 @@ azt_close(void *p)
uint8_t checksum = 0x7f;
int i;
if (!azt2316a->opti) {
if (azt2316a->type == SB_SUBTYPE_CLONE_AZT1605_0X0C) {
fn = "azt1605.nvr";
} else if (azt2316a->type == SB_SUBTYPE_CLONE_AZT2316A_0X11) {
@@ -1473,6 +1474,7 @@ azt_close(void *p)
fclose(f);
}
}
sb_close(azt2316a->sb);