会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
不明白就去明白
博客园
首页
新随笔
联系
订阅
管理
2020年12月21日
C++-两个无符号数相减的问题
摘要: 因为一个裸机软定时器的溢出问题, static uint32_t _timer_ticks = 0; void timer_ticks() { _timer_ticks++; } void soft_timer_loop() { struct soft_timer* target; for(targ
阅读全文
posted @ 2020-12-21 13:16 不明白就去明白
阅读(2874)
评论(0)
推荐(0)
编辑
公告