From 6c0e9f03fc5e393c33d020cbd433d8cad38f0aad Mon Sep 17 00:00:00 2001 From: Grzegorz Kolodziejczyk Date: Tue, 25 Feb 2014 16:50:53 +0100 Subject: [PATCH] android/hal-ipc-api: Fix Add Set Volume command struct packing This adds missed packed struct attribute to hal-ipc command. --- android/hal-msg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/hal-msg.h b/android/hal-msg.h index 836dbbf04..094e11289 100644 --- a/android/hal-msg.h +++ b/android/hal-msg.h @@ -893,7 +893,7 @@ struct hal_cmd_avrcp_register_notification { #define HAL_OP_AVRCP_SET_VOLUME 0x0a struct hal_cmd_avrcp_set_volume { uint8_t value; -}; +} __attribute__((packed)); #define HAL_EV_AVRCP_REMOTE_FEATURES 0x81 struct hal_ev_avrcp_remote_features { -- 2.47.3