mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-21 21:58:05 -06:00
command: Move command_task() to board specific code
Move the command_task() code from the generic code to the board specific code. This enables more flexibility in how the board specific code processes input. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
1ae78d08e9
commit
292453d306
8 changed files with 67 additions and 39 deletions
|
@ -85,19 +85,6 @@ timer_read_time(void)
|
|||
* Turn stdin/stdout into serial console
|
||||
****************************************************************/
|
||||
|
||||
// XXX
|
||||
char *
|
||||
console_get_input(uint8_t *plen)
|
||||
{
|
||||
*plen = 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
console_pop_input(uint8_t len)
|
||||
{
|
||||
}
|
||||
|
||||
// Return an output buffer that the caller may fill with transmit messages
|
||||
char *
|
||||
console_get_output(uint8_t len)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue