MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / ProcessCommandFromLcd

Method ProcessCommandFromLcd

src/GCodes/GCodes.cpp:5757–5765  ·  view source on GitHub ↗

Process a GCode command from the 12864 LCD returning true if the command was accepted

Source from the content-addressed store, hash-verified

5755
5756// Process a GCode command from the 12864 LCD returning true if the command was accepted
5757bool GCodes::ProcessCommandFromLcd(const char *_ecv_array cmd) noexcept
5758{
5759 if (LcdGCode()->IsCompletelyIdle())
5760 {
5761 LcdGCode()->PutAndDecode(cmd);
5762 return true;
5763 }
5764 return false;
5765}
5766
5767int GCodes::GetHeaterNumber(unsigned int itemNumber) const noexcept
5768{

Callers 2

Adjust_AlterHelperMethod · 0.80

Calls 2

IsCompletelyIdleMethod · 0.80
PutAndDecodeMethod · 0.45

Tested by

no test coverage detected