From a349df15d68edc4701f4b3b6a75293b580a6971d Mon Sep 17 00:00:00 2001 From: Kristofer Jonsson Date: Tue, 28 Jun 2022 11:36:55 +0200 Subject: Initialize padding for core message queues Change-Id: Iebf79869216a6f2e24b307e3c9b2273887fb3864 --- applications/message_handler/lib/include/message_queue.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications') diff --git a/applications/message_handler/lib/include/message_queue.hpp b/applications/message_handler/lib/include/message_queue.hpp index 4140c62..ec9d7b6 100644 --- a/applications/message_handler/lib/include/message_queue.hpp +++ b/applications/message_handler/lib/include/message_queue.hpp @@ -29,7 +29,7 @@ struct Queue { EthosU::ethosu_core_queue_header header; uint8_t data[SIZE]; - constexpr Queue() : header({SIZE, 0, 0}) {} + constexpr Queue() : header({SIZE, 0, {0}, 0}) {} constexpr EthosU::ethosu_core_queue *toQueue() { return reinterpret_cast(&header); -- cgit v1.2.1