fix channel prefs saving

This commit is contained in:
geeksville
2020-02-12 13:31:09 -08:00
parent efa91f6767
commit d3ca56f91a
6 changed files with 33 additions and 12 deletions

View File

@@ -66,5 +66,6 @@ bool readcb(pb_istream_t *stream, uint8_t *buf, size_t count)
bool writecb(pb_ostream_t *stream, const uint8_t *buf, size_t count)
{
File *file = (File*) stream->state;
//DEBUG_MSG("writing %d bytes to protobuf file\n", count);
return file->write(buf, count) == count;
}