diff options
Diffstat (limited to 'chip/stm32/spi.c')
-rw-r--r-- | chip/stm32/spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/stm32/spi.c b/chip/stm32/spi.c index 1314e0e0d9..8e2fc6fa90 100644 --- a/chip/stm32/spi.c +++ b/chip/stm32/spi.c @@ -82,8 +82,8 @@ static const uint8_t out_preamble[4] = { * message, including protocol overhead, and must be 32-bit aligned. */ static uint8_t out_msg[SPI_MAX_RESPONSE_SIZE + sizeof(out_preamble)] - __attribute__((aligned(4))); -static uint8_t in_msg[SPI_MAX_REQUEST_SIZE] __attribute__((aligned(4))); + __aligned(4); +static uint8_t in_msg[SPI_MAX_REQUEST_SIZE] __aligned(4); static uint8_t enabled; static struct host_cmd_handler_args args; static struct host_packet spi_packet; |