From 178ea1ddfbdfb167155f59f70487322204257990 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sat, 4 Jan 2014 16:09:27 +0100 Subject: fix --- src/pjctl.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pjctl.c b/src/pjctl.c index 01e9f4e..d2c1ad2 100644 --- a/src/pjctl.c +++ b/src/pjctl.c @@ -56,6 +56,13 @@ enum pjctl_state { struct pjctl; +union pjctl_param_parse { + uint8_t p[8]; + struct { uint8_t val; } power; + struct { uint8_t type; uint8_t num; } source; + struct { uint8_t type; uint8_t val; } mute; +}; + struct queue_command { char *command; void (*response_func)(struct pjctl *pjctl, struct queue_command *cmd, @@ -77,13 +84,6 @@ struct pjctl { #endif }; -union pjctl_param_parse { - uint8_t p[8]; - struct { uint8_t val; } power; - struct { uint8_t type; uint8_t num; } source; - struct { uint8_t type; uint8_t val; } mute; -}; - #define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) #define MIN(a,b) ((a)<(b) ? (a) : (b)) -- cgit