Atmel Studio 6.1 delay函数错误的解决方法
错误 __builtin_avr_delay_cycles expects an integer constant.
经过查找发现是头文件版本更新所致。delay.h文件214行说明如下:
Note: The new implementation of _delay_us(double __us) with
__builtin_avr_delay_cycles(unsigne
转载
2017-02-28 14:11:51 ·
970 阅读 ·
0 评论