From 7c198cbff3872795661b6ded45662dc0a9ba6db9 Mon Sep 17 00:00:00 2001 From: henryk Date: Sat, 15 Dec 2007 20:56:57 +0000 Subject: Record size of SSC RX DMA buffers in transfers, much clearer Change miller decoder to take an RX DMA buffer in order to have access to the reception_mode member, much more versatile git-svn-id: https://svn.openpcd.org:2342/trunk@393 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpicc/application/ssc_picc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openpicc/application/ssc_picc.h') diff --git a/openpicc/application/ssc_picc.h b/openpicc/application/ssc_picc.h index 937cab5..b769fe7 100644 --- a/openpicc/application/ssc_picc.h +++ b/openpicc/application/ssc_picc.h @@ -74,7 +74,7 @@ typedef struct { typedef struct { volatile ssc_dma_buffer_state_t state; - u_int32_t len; /* Length of the content, in samples */ + u_int32_t len_transfers; /* Length of the content, in transfers */ const ssc_mode_def *reception_mode; /* Pointer to the SSC mode definition that the buffer has been loaded for (affects element size and count) */ u_int8_t data[SSC_RX_BUFFER_SIZE]; } ssc_dma_rx_buffer_t; -- cgit v1.2.3