1472 views|0 replies

2015

Posts

0

Resources
The OP
 

How to write printf macro switch [Copy link]

printf 宏开关的写法
//#define DEBUGE


#ifdef  DEBUGE
  #define face_printf(...)  printf(__VA_ARGS__)
#else
  #define face_printf(...)
#endif


This post is from Microcontroller MCU
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list