From: asterix Date: Thu, 8 Sep 2011 17:07:47 +0000 (+0000) Subject: Fix typo. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=945370829397bb31be855a63e7c1a73933af404a;p=bertos.git Fix typo. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5042 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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); }