Clean up command_packet.h a bit.
This commit is contained in:
@@ -1,15 +1,6 @@
|
|||||||
#if !defined(__COMMAND_PACKET_H__)
|
#ifndef __COMMAND_PACKET_H__
|
||||||
#define __COMMAND_PACKET_H__
|
#define __COMMAND_PACKET_H__
|
||||||
|
|
||||||
#include "stdint.h"
|
|
||||||
|
|
||||||
//! @addtogroup packet
|
|
||||||
//! @{
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Declarations
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
//! @brief Command/Data Packet constants.
|
//! @brief Command/Data Packet constants.
|
||||||
enum _command_packet_constants
|
enum _command_packet_constants
|
||||||
{
|
{
|
||||||
@@ -90,7 +81,6 @@ typedef struct CommandPacket
|
|||||||
} command_packet_t;
|
} command_packet_t;
|
||||||
|
|
||||||
//! @name Command Packet formats
|
//! @name Command Packet formats
|
||||||
//@{
|
|
||||||
|
|
||||||
//! @brief FlashEraseAll packet format.
|
//! @brief FlashEraseAll packet format.
|
||||||
typedef struct FlashEraseAllPacket
|
typedef struct FlashEraseAllPacket
|
||||||
@@ -244,10 +234,7 @@ typedef struct ConfigureCanPacket
|
|||||||
uint32_t rxid; //!< Parameter 2: rxid
|
uint32_t rxid; //!< Parameter 2: rxid
|
||||||
} configure_can_packet_t;
|
} configure_can_packet_t;
|
||||||
|
|
||||||
//@}
|
|
||||||
|
|
||||||
//! @name Response Packet formats
|
//! @name Response Packet formats
|
||||||
//@{
|
|
||||||
|
|
||||||
//! @brief Generic response packet format.
|
//! @brief Generic response packet format.
|
||||||
typedef struct GenericResponsePacket
|
typedef struct GenericResponsePacket
|
||||||
@@ -290,8 +277,4 @@ typedef struct FlashReadResourceResponsePacket
|
|||||||
uint32_t dataByteCount; //!< parameter 1
|
uint32_t dataByteCount; //!< parameter 1
|
||||||
} flash_read_resource_response_packet_t;
|
} flash_read_resource_response_packet_t;
|
||||||
|
|
||||||
//@}
|
#endif
|
||||||
|
|
||||||
//! @}
|
|
||||||
|
|
||||||
#endif // __COMMAND_PACKET_H__
|
|
||||||
|
|||||||
Reference in New Issue
Block a user