Gas Pressure Display Updated Power control for Pressure sensor added
Dependencies: UniGraphic mbed vt100
af_utils/DebugIO.hpp
- Committer:
- Rhyme
- Date:
- 2018-02-16
- Revision:
- 0:37c8ecde13c2
File content as of revision 0:37c8ecde13c2:
#ifndef _MARUSOL_DEBUG_IO_HPP_ #define _MARUSOL_DEBUG_IO_HPP_ #if defined (TARGET_TEENSY3_1) #include "USBSerial.h" #else #include "mbed.h" #endif // #define SERIAL_PRINT_DBG_ON #ifdef SERIAL_PRINT_DBG_ON #define SERIAL_PRINT_DBG(...) (printf(__VA_ARGS__)) #define SERIAL_PRINT_DBG_FUNCNAME() (printf("%s,%d,%s\n",__FILE__,__LINE__,__PRETTY_FUNCTION__)) #else #define SERIAL_PRINT_DBG(...) #define SERIAL_PRINT_DBG_FUNCNAME() #endif //SERIAL_PRINT_DBG_ON // #define SERIAL_PRINT_DBG_ASR_ON #ifdef SERIAL_PRINT_DBG_ASR_ON #define SERIAL_PRINT_DBG_ASR(...) (printf(__VA_ARGS__)) #else #define SERIAL_PRINT_DBG_ASR(...) #endif //SERIAL_PRINT_DBG_ASR_ON #endif //_MARUSOL_DEBUG_IO_HPP_