Compare commits

...

2 Commits

Author SHA1 Message Date
92b3c69b98 Decrease network task iteration delay
Position post measure first before get configuration
2025-07-26 18:23:04 +07:00
f4d518aa87 Fix agschedule anon function call order 2025-07-26 18:22:30 +07:00
2 changed files with 3 additions and 3 deletions

View File

@ -1664,11 +1664,11 @@ void networkingTask(void *args) {
// Run scheduler
networkSignalCheckSchedule.run();
configSchedule.run();
transmissionSchedule.run();
configSchedule.run();
checkForUpdateSchedule.run();
delay(1000);
delay(50);
}
vTaskDelete(handleNetworkTask);

View File

@ -8,8 +8,8 @@ AgSchedule::~AgSchedule() {}
void AgSchedule::run(void) {
uint32_t ms = (uint32_t)(millis() - count);
if (ms >= period) {
handler();
count = millis();
handler();
}
}