From a9b18355fcd4199dd60a0207864ba2556898764c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Fri, 14 Apr 2017 02:59:33 +0200 Subject: [PATCH] Clean up command_packet.h a bit. --- right/src/buspal/packet/command_packet.h | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/right/src/buspal/packet/command_packet.h b/right/src/buspal/packet/command_packet.h index e06b160..09387b5 100644 --- a/right/src/buspal/packet/command_packet.h +++ b/right/src/buspal/packet/command_packet.h @@ -1,15 +1,6 @@ -#if !defined(__COMMAND_PACKET_H__) +#ifndef __COMMAND_PACKET_H__ #define __COMMAND_PACKET_H__ -#include "stdint.h" - -//! @addtogroup packet -//! @{ - -//////////////////////////////////////////////////////////////////////////////// -// Declarations -//////////////////////////////////////////////////////////////////////////////// - //! @brief Command/Data Packet constants. enum _command_packet_constants { @@ -90,7 +81,6 @@ typedef struct CommandPacket } command_packet_t; //! @name Command Packet formats -//@{ //! @brief FlashEraseAll packet format. typedef struct FlashEraseAllPacket @@ -244,10 +234,7 @@ typedef struct ConfigureCanPacket uint32_t rxid; //!< Parameter 2: rxid } configure_can_packet_t; -//@} - //! @name Response Packet formats -//@{ //! @brief Generic response packet format. typedef struct GenericResponsePacket @@ -290,8 +277,4 @@ typedef struct FlashReadResourceResponsePacket uint32_t dataByteCount; //!< parameter 1 } flash_read_resource_response_packet_t; -//@} - -//! @} - -#endif // __COMMAND_PACKET_H__ +#endif