Skip to content

Commit 52a3df4

Browse files
committed
revert pubBlobByKey() change
1 parent 0b8159c commit 52a3df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/companion_radio/DataStore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ uint8_t DataStore::getBlobByKey(const uint8_t key[], int key_len, uint8_t dest_b
515515
bool DataStore::putBlobByKey(const uint8_t key[], int key_len, const uint8_t src_buf[], uint8_t len) {
516516
if (len < PUB_KEY_SIZE+4+SIGNATURE_SIZE || len > MAX_ADVERT_PKT_LEN) return false;
517517
checkAdvBlobFile();
518-
File file = openWrite(_getContactsChannelsFS(), "/adv_blobs");
518+
File file = _getContactsChannelsFS()->open("/adv_blobs", FILE_O_WRITE);
519519
if (file) {
520520
uint32_t pos = 0, found_pos = 0;
521521
uint32_t min_timestamp = 0xFFFFFFFF;

0 commit comments

Comments
 (0)