From 945370829397bb31be855a63e7c1a73933af404a Mon Sep 17 00:00:00 2001
From: asterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Date: Thu, 8 Sep 2011 17:07:47 +0000
Subject: [PATCH] Fix typo.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5042 38d2e660-2303-0410-9eaa-f027e97ec537
---
 bertos/drv/i2s.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bertos/drv/i2s.h b/bertos/drv/i2s.h
index ed5fb83b..3ad4522e 100644
--- a/bertos/drv/i2s.h
+++ b/bertos/drv/i2s.h
@@ -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);
 }
 
-- 
2.25.1