summaryrefslogtreecommitdiff
path: root/src/pjctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pjctl.c')
-rw-r--r--src/pjctl.c14
1 files 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))