mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-22 20:41:19 +00:00
ditch arduino's hacky-hacky FS, back to zephyr native
mg24 fix dfu zip generation fix
This commit is contained in:
1 parent
6cb80a31af
commit
57d8cf1c46
27 files changed
+572
-175
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user