MCPcopy Create free account
hub / github.com/MarlinFirmware/Marlin / inject_P

Method inject_P

Marlin/src/gcode/queue.h:131–131  ·  view source on GitHub ↗

* Enqueue command(s) to run from PROGMEM. Drained by process_injected_command_P(). * Don't inject comments or use leading spaces! * Aborts the current PROGMEM queue so only use for one or two commands. */

Source from the content-addressed store, hash-verified

129 * Aborts the current PROGMEM queue so only use for one or two commands.
130 */
131 static void inject_P(PGM_P const pgcode) { injected_commands_P = pgcode; }
132 static void inject(FSTR_P const fgcode) { inject_P(FTOP(fgcode)); }
133
134 /**

Callers 15

manage_inactivityFunction · 0.80
handle_keypadMethod · 0.80
resume_printMethod · 0.80
injectCommands_PFunction · 0.80
event_handlerFunction · 0.80
lv_draw_z_offset_wizardFunction · 0.80
event_handlerFunction · 0.80
event_handlerFunction · 0.80
menu_tool_offsetsFunction · 0.80
goto_probe_offset_wizardFunction · 0.80
_ubl_goto_map_screenFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected