Isolate the entire farm and statistics code
This commit is contained in:
parent
7d597eb8b0
commit
bef7b086e3
16 changed files with 472 additions and 607 deletions
Firmware
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue