diff options
Diffstat (limited to 'apps/codec_thread.c')
-rw-r--r-- | apps/codec_thread.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/codec_thread.c b/apps/codec_thread.c index a1fa96d021..b511809d6d 100644 --- a/apps/codec_thread.c +++ b/apps/codec_thread.c | |||
@@ -349,8 +349,7 @@ static void codec_configure_callback(int setting, intptr_t value) | |||
349 | dsp_configure(ci.dsp, setting, value); | 349 | dsp_configure(ci.dsp, setting, value); |
350 | } | 350 | } |
351 | 351 | ||
352 | static enum codec_command_action | 352 | static long codec_get_command_callback(intptr_t *param) |
353 | codec_get_command_callback(intptr_t *param) | ||
354 | { | 353 | { |
355 | yield(); | 354 | yield(); |
356 | 355 | ||
@@ -361,7 +360,7 @@ static enum codec_command_action | |||
361 | be expected) */ | 360 | be expected) */ |
362 | while (1) | 361 | while (1) |
363 | { | 362 | { |
364 | enum codec_command_action action = CODEC_ACTION_NULL; | 363 | long action = CODEC_ACTION_NULL; |
365 | struct queue_event ev; | 364 | struct queue_event ev; |
366 | 365 | ||
367 | queue_peek(&codec_queue, &ev); /* Find out what it is */ | 366 | queue_peek(&codec_queue, &ev); /* Find out what it is */ |