Skip to content

datalog value shows double #295

@delightcheerup

Description

@delightcheerup

when datalog happened it will store inside the file, but the problem is after that it will again go inside the if condition instead of else and double the data stored inside the same file

if (res == SPIFFS_OK) {
d->block = bix;
d->entry = entry + 1;
e->obj_id &= ~SPIFFS_OBJ_ID_IX_FLAG;
ret = e;
} else {
d->fs->err_code = res;
}
SPIFFS_UNLOCK(d->fs);
return ret;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions