Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2022-07-14 18:02:07 +0300
committerDavid Crocker <dcrocker@eschertech.com>2022-07-14 18:02:07 +0300
commit66660e4865b0eb2fbf88fd29be56a5f46787ce4d (patch)
tree56ef0df59a41e4da0d1f0239ff5d00d27de33c95
parentcfd18b0e2c15cc45c748859be4abcfdada5be686 (diff)
Updated multicast protocol header file
-rw-r--r--src/Networking/MulticastDiscovery/fgmc_header.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/Networking/MulticastDiscovery/fgmc_header.h b/src/Networking/MulticastDiscovery/fgmc_header.h
index 5f48f91a..beba63c7 100644
--- a/src/Networking/MulticastDiscovery/fgmc_header.h
+++ b/src/Networking/MulticastDiscovery/fgmc_header.h
@@ -1,8 +1,4 @@
-/// \file
-/// \copyright Festo SE & Co. KG, Esslingen. All rights reserved.
-/// \author erfe
-/// \brief
-///
+// Multicast discovery protocol and associated constants
#ifndef FGMC_HEADER_H
#define FGMC_HEADER_H
@@ -13,7 +9,8 @@ namespace engp {
enum class FGMCHwTypeId : uint32_t { FGMC_DEVICE_ID_ZERO = 0, FGMC_DEVICE_ID_CMMT_AS = 23, FGMC_DEVICE_ID_CMMT_ST = 33 };
/// fgmc error codes
-enum class FGMCErrorCode : int16_t {
+enum class FGMCErrorCode : int16_t
+{
FGMC_ERROR_CODE_NORMAL = 0,
FGMC_ERROR_CODE_CMD_NOT_KNOWN = -1,
FGMC_ERROR_CODE_CMD_VERSION_NOT_SUPPORTED = -2,
@@ -22,7 +19,8 @@ enum class FGMCErrorCode : int16_t {
};
/// fgmc commands
-enum class FGMCCommand : int32_t {
+enum class FGMCCommand : int32_t
+{
MCD_COMMAND_UNKNOWN = 0,
MCD_COMMAND_UNETINF = 1,
MCD_COMMAND_DNETINF = 2,