xe1205debug.h
来自「tinyos2.0版本驱动」· C头文件 代码 · 共 18 行
H
18 行
uint8_t var;uint16_t lasterr;void xe1205error(uint8_t loc, uint8_t value_) __attribute__ ((noinline)) { // this is just to make sure the compiler doesn't optimize // out calls to this function, since we use it as a gdb breakpoint atomic var += value_ + loc;}void xe1205check(uint8_t loc, error_t err) __attribute__ ((noinline)) { if (err != SUCCESS) { atomic lasterr = loc; xe1205error(loc, err); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?