Skip to content

Commit ea995f6

Browse files
aurel32fabiobaltieri
authored andcommitted
lorawan/nvm: do not call settings_save() after writing individual settings
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]>
1 parent e94fe44 commit ea995f6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

subsys/lorawan/nvm/lorawan_nvm_settings.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ static void lorawan_nvm_save_settings(uint16_t nvm_notify_flag)
7777
}
7878
}
7979
}
80-
81-
settings_save();
8280
}
8381

8482
void lorawan_nvm_data_mgmt_event(uint16_t flags)

0 commit comments

Comments
 (0)