您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
12345678910111213141516171819 |
- #include <stdint.h>
- #include "oddebug.h"
- #include "sendchar.h"
-
-
- #if DEBUG_LEVEL > 0
- /* from oddebug.c */
- int8_t sendchar(uint8_t c)
- {
- while(!(ODDBG_USR & (1 << ODDBG_UDRE))); /* wait for data register empty */
- ODDBG_UDR = c;
- return 1;
- }
- #else
- int8_t sendchar(uint8_t c)
- {
- return 1;
- }
- #endif
|