aboutsummaryrefslogtreecommitdiffstats
path: root/include/disp.h
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2012-02-22 16:49:24 +0100
committerPaulK <contact@paulk.fr>2012-02-22 16:49:24 +0100
commit58559e4461a2a85f9f4af78224c3e45f3b252d16 (patch)
tree4ba31da09cf9de2c7851e7b0bedf907f4ac78974 /include/disp.h
parent9ab226ac80e3f21952096dbbcd624931f3df19df (diff)
downloadexternal_libsamsung-ipc-58559e4461a2a85f9f4af78224c3e45f3b252d16.zip
external_libsamsung-ipc-58559e4461a2a85f9f4af78224c3e45f3b252d16.tar.gz
external_libsamsung-ipc-58559e4461a2a85f9f4af78224c3e45f3b252d16.tar.bz2
Correct disp icon info structure for IPC-V4 devices
Diffstat (limited to 'include/disp.h')
-rw-r--r--include/disp.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/disp.h b/include/disp.h
index 607e86a..906ed58 100644
--- a/include/disp.h
+++ b/include/disp.h
@@ -21,14 +21,16 @@
#ifndef __DISP_H__
#define __DISP_H__
+#if defined(DEVICE_IPC_V4)
+#include "device/ipc-v4/disp.h"
+#elif defined(DEVICE_H1)
+#include "device/h1/disp.h"
+#endif
+
#define IPC_DISP_ICON_INFO 0x0701
#define IPC_DISP_HOMEZONE_INFO 0x0702
#define IPC_DISP_RSSI_INFO 0x0706
-struct ipc_disp_icon_info {
- unsigned char unk, rssi, battery, act, reg;
-} __attribute__((__packed__));
-
struct ipc_disp_rssi_info {
unsigned char rssi;
} __attribute__((__packed__));