Isolate the entire farm and statistics code

This commit is contained in:
Alex Voinea 2022-08-25 13:03:43 +03:00 committed by DRracer
parent 7d597eb8b0
commit bef7b086e3
16 changed files with 472 additions and 607 deletions
Firmware

View file

@ -368,16 +368,6 @@ void repeatcommand_front()
cmdbuffer_front_already_processed = true;
}
void proc_commands() {
if (buflen)
{
process_commands();
if (!cmdbuffer_front_already_processed)
cmdqueue_pop_front();
cmdbuffer_front_already_processed = false;
}
}
void get_command()
{
// Test and reserve space for the new command string.