Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/emc/usr_intf/emcrsh.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2041,11 +2041,11 @@ static cmdResponseType getJointHomed(char *s, connectionRecType *context)
static cmdResponseType getProgram(char *s, connectionRecType *context)
{
const char *pProgram = "PROGRAM %s";

// snprintf(outBuf, sizeof(outBuf), pProgram, progName);
// printf("Program name = %s", emcStatus->task.file[0]);

if (emcStatus->task.file[0] != 0)
snprintf(context->outBuf, sizeof(context->outBuf), pProgram, emcStatus->task.file);
else
snprintf(context->outBuf, sizeof(context->outBuf), pProgram, "NONE");
return rtNoError;
}

Expand Down