ditch arduino's hacky-hacky FS, back to zephyr native

mg24 fix
dfu zip generation fix
This commit is contained in:
liquidraver
2026-03-03 13:46:48 +01:00
parent 6cb80a31af
commit 57d8cf1c46
27 changed files with 572 additions and 175 deletions
+8 -2
View File
@@ -267,12 +267,18 @@ void CompanionMesh::loop()
void CompanionMesh::markContactsDirty()
{
_dirty_contacts_expiry = _ms->getMillis() + LAZY_WRITE_DELAY_MS;
/* Only set the timer on first dirty — don't keep pushing
* the deadline forward or a busy mesh never flushes. */
if (!_dirty_contacts_expiry) {
_dirty_contacts_expiry = _ms->getMillis() + LAZY_WRITE_DELAY_MS;
}
}
void CompanionMesh::markChannelsDirty()
{
_dirty_channels_expiry = _ms->getMillis() + LAZY_WRITE_DELAY_MS;
if (!_dirty_channels_expiry) {
_dirty_channels_expiry = _ms->getMillis() + LAZY_WRITE_DELAY_MS;
}
}
void CompanionMesh::flushDirtyContacts()