ESP3d integration for ESP32 (#16515)

This commit is contained in:
Luc
2020-01-11 00:15:05 +01:00
committed by Scott Lahteine
parent e9a97127f7
commit d854c8fa5f
145 changed files with 1189 additions and 768 deletions

View File

@ -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();