summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/pcm_record.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/pcm_record.c b/firmware/pcm_record.c
index 444d3f6..500f014 100644
--- a/firmware/pcm_record.c
+++ b/firmware/pcm_record.c
@@ -381,9 +381,9 @@ static void pcmrec_callback(bool flush) __attribute__ ((section (".icode")));
static void pcmrec_callback(bool flush)
{
int num_ready, num_free, num_new;
- unsigned short *ptr;
- int i, j, w;
+ short *ptr;
short value;
+ int i, j, w;
w = write_index;