Storage: Remove comment in load_contact
This commit is contained in:
parent
b3a2a6919b
commit
36ad239a87
|
@ -119,7 +119,6 @@ int init_contact_storage(void) {
|
||||||
|
|
||||||
int load_contact(record_t* dest, record_sequence_number_t sn) {
|
int load_contact(record_t* dest, record_sequence_number_t sn) {
|
||||||
storage_id_t id = convert_sn_to_storage_id(sn);
|
storage_id_t id = convert_sn_to_storage_id(sn);
|
||||||
// int rc = nvs_read(&info_fs, id, dest, sizeof(*dest));
|
|
||||||
int rc = ens_fs_read(&ens_fs, id, dest);
|
int rc = ens_fs_read(&ens_fs, id, dest);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
return rc;
|
return rc;
|
||||||
|
|
Loading…
Reference in New Issue