Documentation.

This commit is contained in:
Marek Bel 2019-01-04 21:26:13 +01:00
parent 1a219b2372
commit d89c03a0f1
2 changed files with 7 additions and 2 deletions
Firmware

View file

@ -1,4 +1,4 @@
//mmu.cpp
//! @file
#include "mmu.h"
#include "planner.h"
@ -343,6 +343,11 @@ int8_t mmu_set_filament_type(uint8_t extruder, uint8_t filament)
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)
{
if ((cmd >= MMU_CMD_T0) && (cmd <= MMU_CMD_T4))

View file

@ -1,4 +1,4 @@
//mmu.h
//! @file
#include <inttypes.h>