mirror of
https://github.com/grblHAL/core.git
synced 2026-09-23 21:38:43 +08:00
Added core support for new MPG mode that claims one serial stream and uses the 0x8B real-time command character for switching mode.
Moved RGB API definitions to separate file and added some utilities for drivers and plugins. Fixed minor bug. stream_open_instance(), signature change - added optional description string.
This commit is contained in:
+1
-1
@@ -931,7 +931,7 @@ ISR_CODE bool ISR_FUNC(protocol_enqueue_realtime_command)(char c)
|
||||
|
||||
case CMD_MPG_MODE_TOGGLE: // Switch off MPG mode
|
||||
if(hal.stream.type == StreamType_MPG)
|
||||
stream_mpg_enable(false);
|
||||
protocol_enqueue_foreground_task(stream_mpg_set_mode, NULL);
|
||||
break;
|
||||
|
||||
case CMD_AUTO_REPORTING_TOGGLE:
|
||||
|
||||
Reference in New Issue
Block a user