完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
..\rt-thread\components\drivers\include\drivers\serial.h(131): |
|
相关推荐
3个回答
|
|
|
struct rt_completion completion;你得到struct rt_completion的定义下边吧,结构体都还没有定义呢,上边就先用来定义改变量了。
顺序调整一下。 struct rt_completion { rt_uint32_t flag; /* suspended list */ rt_list_t suspended_list; }; struct rt_completion completion; struct rt_serial_tx_fifo { struct rt_completion completion1;//和上边的变量同名了,改一下 }; struct rt_list_node { struct rt_list_node *next; /**< point to next node. */ struct rt_list_node *prev; /**< point to prev node. */ }; typedef struct rt_list_node rt_list_t; |
|
|
|
|
|
struct rt_completion
{ rt_uint32_t flag; /* suspended list */ rt_list_t suspended_list; }; struct rt_serial_tx_fifo { struct rt_completion completion; }; 定义和声明搞错了,这样写。 |
|
|
|
|
|
|
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1033 浏览 0 评论
2877 浏览 0 评论
图腾柱PFC无法上升至400V,且电感电流为正弦波形,但是幅值极小
9386 浏览 0 评论
飞凌嵌入式ElfBoard-Vim编辑器之静态链接和动态链接
2898 浏览 0 评论
使用 LinkBoy 将程序导出为 C 语言代码并烧录至 Arduino ESP32 开发板
2302 浏览 1 评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 08:53 , Processed in 0.663979 second(s), Total 81, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2548