打印

alt_dma_txchan_send 干嘛老是有个警告

[复制链接]
2333|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
ysdx|  楼主 | 2010-8-23 12:52 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
AN, DMA, se, pc, TI
../hello_world.c:176: warning: passing arg 4 of `alt_dma_txchan_send' from incompatible pointer type

static void dma_txdone(void* handle, void* data)
{
  tx_done=1;
}


if(alt_dma_txchan_send(txchan, Rx1Buffer+Rx1ReadPC, TempCount<<2, dma_txdone, NULL))
                        {
                            return 0;
                        }

编译完毕后老是有个警告。实际执行没有问题。

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:新手死于追涨,老手死于抄底,高手死于杠杆,价值投资死于满仓死杠!

337

主题

1051

帖子

21

粉丝