printf_p.h
来自「一个机器人开发的相关嵌入式开发源码」· C头文件 代码 · 共 19 行
H
19 行
#ifndef _PRINTF_P_H_
#define _PRINTF_P_H_
#include "config.h"
#if (USE_NEWLIB == 1) //use newlib
#include <stdio.h>
#elif (CONSOLE_API_PRINTF == 1) //OWN_PRINTF
#include "consol.h"
#define printf(format, args...) simplePrintf(format, ## args)
#elif (CONSOLE_API_PRINTF == 0) //SIMPLE
#include "consol.h"
#define printf(format, args...) consolSendString(format)
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?