Fix typo.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 8 Sep 2011 17:07:47 +0000 (17:07 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 8 Sep 2011 17:07:47 +0000 (17:07 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5042 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/drv/i2s.h

index ed5fb83b9254cacff5cdae5ee42d0f9eed11e65a..3ad4522e8d7983056eb0900789ebcef69c6c9d67 100644 (file)
@@ -151,8 +151,8 @@ INLINE void i2s_dmaStartTxStreaming(I2s *i2s, void *buf, size_t len, size_t slic
        ASSERT(len % slice_len == 0);
        ASSERT(callback);
 
-       i2s->ctx.rx_callback = callback;
-       i2s->ctx.rx_slice_len = slice_len;
+       i2s->ctx.tx_callback = callback;
+       i2s->ctx.tx_slice_len = slice_len;
        i2s->ctx.tx_start(i2s, buf, len, slice_len);
 }