Documentation.
This commit is contained in:
parent
1a219b2372
commit
d89c03a0f1
2 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
//mmu.cpp
|
//! @file
|
||||||
|
|
||||||
#include "mmu.h"
|
#include "mmu.h"
|
||||||
#include "planner.h"
|
#include "planner.h"
|
||||||
|
@ -343,6 +343,11 @@ int8_t mmu_set_filament_type(uint8_t extruder, uint8_t filament)
|
||||||
return timeout?1:0;
|
return timeout?1:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//! @brief Enqueue MMUv2 command
|
||||||
|
//!
|
||||||
|
//! Call manage_response() after enqueuing to process command.
|
||||||
|
//! If T command is enqueued, it disables current for extruder motor if TMC2130 driver present.
|
||||||
|
//! If T or L command is enqueued, it marks filament loaded in AutoDeplete module.
|
||||||
void mmu_command(uint8_t cmd)
|
void mmu_command(uint8_t cmd)
|
||||||
{
|
{
|
||||||
if ((cmd >= MMU_CMD_T0) && (cmd <= MMU_CMD_T4))
|
if ((cmd >= MMU_CMD_T0) && (cmd <= MMU_CMD_T4))
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//mmu.h
|
//! @file
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue