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:
Terje Io
2024-02-05 23:39:27 +01:00
parent 068e6d37b1
commit e5d088eda7
11 changed files with 281 additions and 58 deletions
+1 -1
View File
@@ -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: