标题:
求助undefined reference to `usbInterruptIsReady'编译错误
[打印本页]
作者:
阿飞af
时间:
2019-3-9 16:45
标题:
求助undefined reference to `usbInterruptIsReady'编译错误
求助undefined reference to `usbInterruptIsReady'编译错误
在man函数里
if(
usbInterruptIsReady
()){
/* called after every poll of the interrupt endpoint */
advanceCircleByFixedAngle();
DBG1(0x03, 0, 0); /* debug output: interrupt report prepared */
usbSetInterrupt
((void *)&reportBuffer, sizeof(reportBuffer));
}
在头文件<usbdrv.h>里有
#if USB_CFG_HAVE_INTRIN_ENDPOINT
USB_PUBLIC void
usbSetInterrupt
(uchar *data, uchar len);//////////////////////////////
#define
usbInterruptIsReady
() (usbTxLen1 & 0x10)//////////////////////////////////////////
#endif /* USB_CFG_HAVE_INTRIN_ENDPOINT */
编译时出错
undefined reference to `
usbInterruptIsReady
'
undefined reference to `
usbSetInterrupt
'
请问是哪里的问题
欢迎光临 (http://www.51hei.com/bbs/)
Powered by Discuz! X3.1