No need to actually save non-existent EEPROM configuration
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -1633,7 +1635,7 @@ static const device_config_t azt1605_config[] = {
|
||||
};
|
||||
|
||||
static const device_config_t azt2316a_config[] = {
|
||||
// clang-format off
|
||||
// clang-format off
|
||||
{
|
||||
.name = "codec",
|
||||
.description = "CODEC",
|
||||
@@ -1776,7 +1778,7 @@ static const device_config_t acermagic_s20_config[] = {
|
||||
.default_int = 0
|
||||
},
|
||||
{ .name = "", .description = "", .type = CONFIG_END }
|
||||
// clang-format on
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
const device_t azt2316a_device = {
|
||||
|
Reference in New Issue
Block a user