A blue button is always a nice toy ...

Dependencies:   BLE_API X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

bricks/trace.h

Committer:
hux
Date:
2017-01-06
Revision:
25:231d3f382583
Parent:
23:677689000369

File content as of revision 25:231d3f382583:

// trace.h - tracing
#ifndef _TRACE_H_
#define _TRACE_H_

#include <mbed.h>

   void verbose(int level);                 // setup verbose level               
   void trace(int level, const char *msg);  // trace a message

   inline void verbose()
   {
       verbose(99);                         // print all verbose messages
   }
   
#endif // _TRACE_H_