Minor changes
This commit is contained in:
parent
3ad27df877
commit
52b78a8f8b
2 changed files with 2 additions and 1 deletions
|
@ -3249,7 +3249,7 @@ bool GCodes::HandleMcode(GCodeBuffer* gb)
|
|||
}
|
||||
else
|
||||
{
|
||||
reply.printf("A %d sends drive %d forwards.", (int)platform->GetDirectionValue(drive), drive);
|
||||
reply.printf("A %d sends drive %d forwards.\n", (int)platform->GetDirectionValue(drive), drive);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -64,6 +64,7 @@ int StringContains(const char* string, const char* match);
|
|||
#else
|
||||
// This version relies on a gcc extension that is available only in older compilers
|
||||
#define ARRAY_INIT(_dest, _init) _dest = _init
|
||||
#define nullptr (0)
|
||||
#endif
|
||||
|
||||
// Class to describe a string buffer, including its length. This saves passing buffer lengths around everywhere.
|
||||
|
|
Reference in a new issue