diff options
Diffstat (limited to 'src/Platform/MessageType.h')
-rw-r--r-- | src/Platform/MessageType.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/Platform/MessageType.h b/src/Platform/MessageType.h index 4823dbb7..7f82f0f2 100644 --- a/src/Platform/MessageType.h +++ b/src/Platform/MessageType.h @@ -15,34 +15,34 @@ enum MessageType : uint32_t { // Destinations (bytes 1-2) // Keep the following in sync with the order of GCodeBuffers in the GCodes class - HttpMessage = 0x01, // A message that is to be sent to the web (HTTP) - TelnetMessage = 0x02, // A message that is to be sent to a Telnet client - FileMessage = 0x04, // A message that is to be sent to a file processor - UsbMessage = 0x08, // A message that is to be sent in non-blocking mode to the host via USB - AuxMessage = 0x10, // A message that is to be sent to an auxiliary device (PanelDue) - TriggerMessage = 0x20, // A message that is to be sent to a trigger processor - CodeQueueMessage = 0x40, // A message that is to be sent to the code queue channel - LcdMessage = 0x80, // A message that is to be sent to the panel - SbcMessage = 0x100, // A message that is to be sent to the SBC - DaemonMessage = 0x200, // A message that is sent to the daemon processor - Aux2Message = 0x400, // A message that is to be sent to the second aux device - AutoPauseMessage = 0x800, // A message that is to be sent to an auto-pause processor + HttpMessage = 0x01u, // A message that is to be sent to the web (HTTP) + TelnetMessage = 0x02u, // A message that is to be sent to a Telnet client + FileMessage = 0x04u, // A message that is to be sent to a file processor + UsbMessage = 0x08u, // A message that is to be sent in non-blocking mode to the host via USB + AuxMessage = 0x10u, // A message that is to be sent to an auxiliary device (PanelDue) + TriggerMessage = 0x20u, // A message that is to be sent to a trigger processor + CodeQueueMessage = 0x40u, // A message that is to be sent to the code queue channel + LcdMessage = 0x80u, // A message that is to be sent to the panel + SbcMessage = 0x100u, // A message that is to be sent to the SBC + DaemonMessage = 0x200u, // A message that is sent to the daemon processor + Aux2Message = 0x400u, // A message that is to be sent to the second aux device + AutoPauseMessage = 0x800u, // A message that is to be sent to an auto-pause processor // Special destinations (byte 3) - BlockingUsbMessage = 0x10000, // A message that is to be sent to USB in blocking mode - ImmediateAuxMessage = 0x20000, // A message that is to be sent to LCD in immediate mode + BlockingUsbMessage = 0x10000u, // A message that is to be sent to USB in blocking mode + ImmediateAuxMessage = 0x20000u, // A message that is to be sent to LCD in immediate mode - DestinationsMask = 0x308FF, // Mask for all the destinations + DestinationsMask = 0x308FFu, // Mask for all the destinations // Special indicators (byte 4) // The first two are not processed when calling the version of Platform::Message that takes an OutputBuffer. - ErrorMessageFlag = 0x1000000, // This is an error message - WarningMessageFlag = 0x2000000, // This is a warning message - RawMessageFlag = 0x8000000, // Do not encapsulate this message - BinaryCodeReplyFlag = 0x10000000, // This message comes from a binary G-Code buffer - PushFlag = 0x20000000, // There is more to come; the message has been truncated - LogMessageLowBit = 0x40000000, // Log level consists of two bits this is the low bit - LogMessageHighBit = 0x80000000, // Log level consists of two bits this is the high bit + ErrorMessageFlag = 0x1000000u, // This is an error message + WarningMessageFlag = 0x2000000u, // This is a warning message + RawMessageFlag = 0x8000000u, // Do not encapsulate this message + BinaryCodeReplyFlag = 0x10000000u, // This message comes from a binary G-Code buffer + PushFlag = 0x20000000u, // There is more to come; the message has been truncated + LogMessageLowBit = 0x40000000u, // Log level consists of two bits this is the low bit + LogMessageHighBit = 0x80000000u, // Log level consists of two bits this is the high bit // Common combinations NoDestinationMessage = 0, // A message that is going nowhere |