mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-01 21:31:04 +00:00
Durr
This commit is contained in:
parent
b1653ee588
commit
347c83dced
@ -1103,9 +1103,9 @@ bool NodeDB::saveProto(const char *filename, size_t protoSize, const pb_msgdesc_
|
|||||||
bool fullAtomic)
|
bool fullAtomic)
|
||||||
{
|
{
|
||||||
bool okay = false;
|
bool okay = false;
|
||||||
|
#ifdef FSCom
|
||||||
auto f = SafeFile(filename, fullAtomic);
|
auto f = SafeFile(filename, fullAtomic);
|
||||||
|
|
||||||
#ifdef FSCom
|
|
||||||
LOG_INFO("Save %s", filename);
|
LOG_INFO("Save %s", filename);
|
||||||
pb_ostream_t stream = {&writecb, static_cast<Print *>(&f), protoSize};
|
pb_ostream_t stream = {&writecb, static_cast<Print *>(&f), protoSize};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user