ESP3d integration for ESP32 (#16515)
This commit is contained in:
@ -28,6 +28,10 @@
|
||||
#include "gcode.h"
|
||||
GcodeSuite gcode;
|
||||
|
||||
#if ENABLED(WIFI_CUSTOM_COMMAND)
|
||||
extern bool wifi_custom_command(char * const command_ptr);
|
||||
#endif
|
||||
|
||||
#include "parser.h"
|
||||
#include "queue.h"
|
||||
#include "../module/motion.h"
|
||||
@ -841,7 +845,11 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
|
||||
|
||||
case 'T': T(parser.codenum); break; // Tn: Tool Change
|
||||
|
||||
default: parser.unknown_command_error();
|
||||
default:
|
||||
#if ENABLED(WIFI_CUSTOM_COMMAND)
|
||||
if (wifi_custom_command(parser.command_ptr)) break;
|
||||
#endif
|
||||
parser.unknown_command_error();
|
||||
}
|
||||
|
||||
if (!no_ok) queue.ok_to_send();
|
||||
|
Reference in New Issue
Block a user