Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
逆着光、寻觅
rt-thread
提交
c65ec96e
R
rt-thread
项目概览
逆着光、寻觅
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c65ec96e
编写于
3月 04, 2018
作者:
B
Bernard Xiong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[BSP] fix CRLF issue in gkipc bsp
上级
f7296db4
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
24 addition
and
24 deletion
+24
-24
bsp/gkipc/libraries/drv/7102C/gd/src/audio/gd_audio.c
bsp/gkipc/libraries/drv/7102C/gd/src/audio/gd_audio.c
+4
-4
bsp/gkipc/libraries/drv/7102C/gd/src/i2s/gd_i2s.c
bsp/gkipc/libraries/drv/7102C/gd/src/i2s/gd_i2s.c
+4
-4
bsp/gkipc/libraries/drv/710X/gd/src/audio/gd_audio.c
bsp/gkipc/libraries/drv/710X/gd/src/audio/gd_audio.c
+4
-4
bsp/gkipc/libraries/drv/710X/gd/src/i2s/gd_i2s.c
bsp/gkipc/libraries/drv/710X/gd/src/i2s/gd_i2s.c
+4
-4
bsp/gkipc/libraries/drv/710XS/gd/src/audio/gd_audio.c
bsp/gkipc/libraries/drv/710XS/gd/src/audio/gd_audio.c
+4
-4
bsp/gkipc/libraries/drv/710XS/gd/src/i2s/gd_i2s.c
bsp/gkipc/libraries/drv/710XS/gd/src/i2s/gd_i2s.c
+4
-4
未找到文件。
bsp/gkipc/libraries/drv/7102C/gd/src/audio/gd_audio.c
浏览文件 @
c65ec96e
...
...
@@ -182,7 +182,7 @@ static void ai_int_handler(void)
pFrameQue
->
frameSequence
++
;
if
(
++
pFrameQue
->
frameWrite
>=
pFrameQue
->
frameQueRear
)
{
{
pFrameQue
->
frameWrite
=
pFrameQue
->
frameQueHead
;
}
...
...
@@ -261,7 +261,7 @@ static void ao_int_handler(void)
{
if
(
++
pFrameQue
->
frameRead
>=
pFrameQue
->
frameQueRear
)
{
{
pFrameQue
->
frameRead
=
pFrameQue
->
frameQueHead
;
}
...
...
@@ -970,7 +970,7 @@ GERR GD_AUDIO_AI_Read_Frame(GD_AUDIO_FRAME_S *frame)
memcpy
(
frame
,
pFrameQue
->
frameRead
,
sizeof
(
GD_AUDIO_FRAME_S
));
if
(
++
pFrameQue
->
frameRead
>=
pFrameQue
->
frameQueRear
)
{
{
pFrameQue
->
frameRead
=
pFrameQue
->
frameQueHead
;
}
...
...
@@ -1172,7 +1172,7 @@ GERR GD_AUDIO_AO_Write_Frame(GD_AUDIO_FRAME_S *frame)
memcpy
(
frame
,
pFrameQue
->
frameWrite
,
sizeof
(
GD_AUDIO_FRAME_S
));
if
(
++
pFrameQue
->
frameWrite
>=
pFrameQue
->
frameQueRear
)
{
{
pFrameQue
->
frameWrite
=
pFrameQue
->
frameQueHead
;
}
...
...
bsp/gkipc/libraries/drv/7102C/gd/src/i2s/gd_i2s.c
浏览文件 @
c65ec96e
...
...
@@ -108,7 +108,7 @@ static void rx_int_handler(void)
{
pDev
->
wrPointer
+=
pDev
->
frameSize
;
if
(
pDev
->
wrPointer
>=
pDev
->
rearPointer
)
{
{
pDev
->
wrPointer
=
pDev
->
dmaFrameBuffer
;
}
...
...
@@ -181,7 +181,7 @@ static void tx_int_handler(void)
{
pDev
->
rdPointer
+=
pDev
->
frameSize
;
if
(
pDev
->
rdPointer
>=
pDev
->
rearPointer
)
{
{
pDev
->
rdPointer
=
pDev
->
dmaFrameBuffer
;
}
...
...
@@ -465,7 +465,7 @@ GERR GD_I2S_RX_Read_Frame(U8 *data, U32 *length)
pDev
->
rdPointer
+=
pDev
->
frameSize
;
if
(
pDev
->
rdPointer
>=
pDev
->
rearPointer
)
{
{
pDev
->
rdPointer
=
pDev
->
dmaFrameBuffer
;
}
...
...
@@ -635,7 +635,7 @@ GERR GD_I2S_TX_Write_Frame(U8 *data, U32 length)
pDev
->
wrPointer
+=
pDev
->
frameSize
;
if
(
pDev
->
wrPointer
>=
pDev
->
rearPointer
)
{
{
pDev
->
wrPointer
=
pDev
->
dmaFrameBuffer
;
}
...
...
bsp/gkipc/libraries/drv/710X/gd/src/audio/gd_audio.c
浏览文件 @
c65ec96e
...
...
@@ -181,7 +181,7 @@ static void ai_int_handler(void)
pFrameQue
->
frameSequence
++
;
if
(
++
pFrameQue
->
frameWrite
>=
pFrameQue
->
frameQueRear
)
{
{
pFrameQue
->
frameWrite
=
pFrameQue
->
frameQueHead
;
}
...
...
@@ -261,7 +261,7 @@ static void ao_int_handler(void)
{
if
(
++
pFrameQue
->
frameRead
>=
pFrameQue
->
frameQueRear
)
{
{
pFrameQue
->
frameRead
=
pFrameQue
->
frameQueHead
;
}
...
...
@@ -970,7 +970,7 @@ GERR GD_AUDIO_AI_Read_Frame(GD_AUDIO_FRAME_S *frame)
memcpy
(
frame
,
pFrameQue
->
frameRead
,
sizeof
(
GD_AUDIO_FRAME_S
));
if
(
++
pFrameQue
->
frameRead
>=
pFrameQue
->
frameQueRear
)
{
{
pFrameQue
->
frameRead
=
pFrameQue
->
frameQueHead
;
}
...
...
@@ -1172,7 +1172,7 @@ GERR GD_AUDIO_AO_Write_Frame(GD_AUDIO_FRAME_S *frame)
memcpy
(
frame
,
pFrameQue
->
frameWrite
,
sizeof
(
GD_AUDIO_FRAME_S
));
if
(
++
pFrameQue
->
frameWrite
>=
pFrameQue
->
frameQueRear
)
{
{
pFrameQue
->
frameWrite
=
pFrameQue
->
frameQueHead
;
}
...
...
bsp/gkipc/libraries/drv/710X/gd/src/i2s/gd_i2s.c
浏览文件 @
c65ec96e
...
...
@@ -107,7 +107,7 @@ static void rx_int_handler(void)
{
pDev
->
wrPointer
+=
pDev
->
frameSize
;
if
(
pDev
->
wrPointer
>=
pDev
->
rearPointer
)
{
{
pDev
->
wrPointer
=
pDev
->
dmaFrameBuffer
;
}
...
...
@@ -180,7 +180,7 @@ static void tx_int_handler(void)
{
pDev
->
rdPointer
+=
pDev
->
frameSize
;
if
(
pDev
->
rdPointer
>=
pDev
->
rearPointer
)
{
{
pDev
->
rdPointer
=
pDev
->
dmaFrameBuffer
;
}
...
...
@@ -466,7 +466,7 @@ GERR GD_I2S_RX_Read_Frame(U8 *data, U32 *length)
pDev
->
rdPointer
+=
pDev
->
frameSize
;
if
(
pDev
->
rdPointer
>=
pDev
->
rearPointer
)
{
{
pDev
->
rdPointer
=
pDev
->
dmaFrameBuffer
;
}
...
...
@@ -636,7 +636,7 @@ GERR GD_I2S_TX_Write_Frame(U8 *data, U32 length)
pDev
->
wrPointer
+=
pDev
->
frameSize
;
if
(
pDev
->
wrPointer
>=
pDev
->
rearPointer
)
{
{
pDev
->
wrPointer
=
pDev
->
dmaFrameBuffer
;
}
...
...
bsp/gkipc/libraries/drv/710XS/gd/src/audio/gd_audio.c
浏览文件 @
c65ec96e
...
...
@@ -181,7 +181,7 @@ static void ai_int_handler(void)
pFrameQue
->
frameSequence
++
;
if
(
++
pFrameQue
->
frameWrite
>=
pFrameQue
->
frameQueRear
)
{
{
pFrameQue
->
frameWrite
=
pFrameQue
->
frameQueHead
;
}
...
...
@@ -260,7 +260,7 @@ static void ao_int_handler(void)
{
if
(
++
pFrameQue
->
frameRead
>=
pFrameQue
->
frameQueRear
)
{
{
pFrameQue
->
frameRead
=
pFrameQue
->
frameQueHead
;
}
...
...
@@ -969,7 +969,7 @@ GERR GD_AUDIO_AI_Read_Frame(GD_AUDIO_FRAME_S *frame)
memcpy
(
frame
,
pFrameQue
->
frameRead
,
sizeof
(
GD_AUDIO_FRAME_S
));
if
(
++
pFrameQue
->
frameRead
>=
pFrameQue
->
frameQueRear
)
{
{
pFrameQue
->
frameRead
=
pFrameQue
->
frameQueHead
;
}
...
...
@@ -1171,7 +1171,7 @@ GERR GD_AUDIO_AO_Write_Frame(GD_AUDIO_FRAME_S *frame)
memcpy
(
frame
,
pFrameQue
->
frameWrite
,
sizeof
(
GD_AUDIO_FRAME_S
));
if
(
++
pFrameQue
->
frameWrite
>=
pFrameQue
->
frameQueRear
)
{
{
pFrameQue
->
frameWrite
=
pFrameQue
->
frameQueHead
;
}
...
...
bsp/gkipc/libraries/drv/710XS/gd/src/i2s/gd_i2s.c
浏览文件 @
c65ec96e
...
...
@@ -107,7 +107,7 @@ static void rx_int_handler(void)
{
pDev
->
wrPointer
+=
pDev
->
frameSize
;
if
(
pDev
->
wrPointer
>=
pDev
->
rearPointer
)
{
{
pDev
->
wrPointer
=
pDev
->
dmaFrameBuffer
;
}
...
...
@@ -180,7 +180,7 @@ static void tx_int_handler(void)
{
pDev
->
rdPointer
+=
pDev
->
frameSize
;
if
(
pDev
->
rdPointer
>=
pDev
->
rearPointer
)
{
{
pDev
->
rdPointer
=
pDev
->
dmaFrameBuffer
;
}
...
...
@@ -464,7 +464,7 @@ GERR GD_I2S_RX_Read_Frame(U8 *data, U32 *length)
pDev
->
rdPointer
+=
pDev
->
frameSize
;
if
(
pDev
->
rdPointer
>=
pDev
->
rearPointer
)
{
{
pDev
->
rdPointer
=
pDev
->
dmaFrameBuffer
;
}
...
...
@@ -634,7 +634,7 @@ GERR GD_I2S_TX_Write_Frame(U8 *data, U32 length)
pDev
->
wrPointer
+=
pDev
->
frameSize
;
if
(
pDev
->
wrPointer
>=
pDev
->
rearPointer
)
{
{
pDev
->
wrPointer
=
pDev
->
dmaFrameBuffer
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录