*\r
* Copyright (c) 2009-2014 Frank Meyer - frank(at)fli4l.de\r
*\r
- * $Id: irmpsystem.h,v 1.14 2014/09/15 10:27:38 fm Exp $\r
+ * $Id: irmpsystem.h,v 1.15 2015/01/19 10:54:37 fm Exp $\r
*\r
* This program is free software; you can redistribute it and/or modify\r
* it under the terms of the GNU General Public License as published by\r
# include <stm32f4xx.h>\r
# define ARM_STM32\r
# define ARM_STM32F4XX\r
-#elif defined(TARGET_IS_BLIZZARD_RA2) // TI Stellaris (tested on Stellaris Launchpad with Code Composer Studio)\r
+#elif defined(TARGET_IS_BLIZZARD_RA2) // TI Stellaris (tested on Stellaris Launchpad with Code Composer Studio)\r
# define STELLARIS_ARM_CORTEX_M4\r
# define F_CPU (SysCtlClockGet())\r
#elif defined(unix) || defined(WIN32) || defined(__APPLE__) // Unix/Linux or Windows or Apple\r
# define FALSE 0\r
#endif\r
\r
-typedef struct\r
+typedef struct __attribute__ ((__packed__))\r
{\r
- uint8_t protocol; // protocol, i.e. NEC_PROTOCOL\r
+ uint8_t protocol; // protocol, e.g. NEC_PROTOCOL\r
uint16_t address; // address\r
uint16_t command; // command\r
uint8_t flags; // flags, e.g. repetition\r