alt_dma_txchan_send 干嘛老是有个警告

[复制链接]
 楼主| 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;
                        }

编译完毕后老是有个警告。实际执行没有问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

338

主题

1056

帖子

21

粉丝
快速回复 在线客服 返回列表 返回顶部