Code: Select all
typedef struct
{
uint8_t _format;
int8_t _exponent;
uint16_t _unit;
uint8_t _namespace;
uint16_t _description;
} __attribute__ ((packed)) presentation_t;
Code: Select all
typedef struct
{
uint8_t _format;
int8_t _exponent;
uint16_t _unit;
uint8_t _namespace;
uint16_t _description;
} __attribute__ ((packed)) presentation_t;