Skip to content

Commit dcb361f

Browse files
expand description of ble db sync
1 parent b57e5c4 commit dcb361f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

connectivity/FEATURE_BLE/source/generic/SecurityDb.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,11 @@ class SecurityDb {
522522
virtual void restore();
523523

524524
/**
525-
* Flush all values which might be stored in memory into NVM.
525+
* Write all values and attempt to sync persistent storage. Passing in an optional valid
526+
* db_handle will only write the given entry and not attempt to flush buffers.
527+
*
528+
* @param db_handle database entry to write. If invalid all entries are written and
529+
* persistent storage attempts to sync (flush buffers).
526530
*/
527531
virtual void sync(entry_handle_t db_handle = invalid_entry_handle);
528532

0 commit comments

Comments
 (0)