mirror of
https://github.com/armink/FlashDB.git
synced 2026-08-17 17:11:50 +08:00
Merge pull request #83 from woniua/patch-1
Update sample-kvdb-type-string.md
This commit is contained in:
@@ -35,7 +35,7 @@ void kvdb_type_string_sample(fdb_kvdb_t kvdb)
|
||||
{ /* CHANGE the KV value */
|
||||
char temp_data[10] = "38C";
|
||||
|
||||
/* change the "temp" KV's value to "38.1" */
|
||||
/* change the "temp" KV's value to "38C" */
|
||||
fdb_kv_set(kvdb, "temp", temp_data);
|
||||
FDB_INFO("set 'temp' value to %s\n", temp_data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user