Skip to content

Commit

Permalink
lorawan/nvm: do not call settings_save() after writing individual set…
Browse files Browse the repository at this point in the history
…tings

The lorawan subsystem do not use settings handler, and instead uses
individual calls to settings_save_one(). With this strategy there is no
need to call settings_save() at the end.

Signed-off-by: Aurelien Jarno <[email protected]>
  • Loading branch information
aurel32 authored and fabiobaltieri committed May 1, 2024
1 parent e94fe44 commit ea995f6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions subsys/lorawan/nvm/lorawan_nvm_settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ static void lorawan_nvm_save_settings(uint16_t nvm_notify_flag)
}
}
}

settings_save();
}

void lorawan_nvm_data_mgmt_event(uint16_t flags)
Expand Down

0 comments on commit ea995f6

Please sign in to comment.