Skip to content

Commit

Permalink
Merge pull request #169 from TheThingsIndustries/fix/tracer
Browse files Browse the repository at this point in the history
lib: Fix tiny_tracer headers
  • Loading branch information
elsalahy authored Apr 13, 2021
2 parents aa3e691 + 7609963 commit 80b9796
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Software/lib/GNSE_TRACER/GNSE_tracer.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ extern "C" {
#define GNSE_TRACER_INIT()
#define GNSE_TRACER_VERBOSE(V_LEVEL)
#define GNSE_TRACER_START_RX(RX_CB)
#define GNSE_TRACER_TIMESTAMP (TS_CB)
#define GNSE_TRACER_TIMESTAMP(TS_CB)
#define GNSE_TRACER_RESUME()
#define GNSE_TRACER_DEINIT()

Expand Down
6 changes: 3 additions & 3 deletions Software/lib/GNSE_TRACER/tiny_printf/tiny_printf.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
//
///////////////////////////////////////////////////////////////////////////////

#ifndef _PRINTF_H_
#define _PRINTF_H_
#ifndef _TINY_PRINTF_H_
#define _TINY_PRINTF_H_

#include <stdarg.h>
#include <stddef.h>
Expand Down Expand Up @@ -99,4 +99,4 @@ int tiny_fctprintf(void (*out)(char character, void* arg), void* arg, const char
#endif


#endif // _PRINTF_H_
#endif // _TINY_PRINTF_H_
5 changes: 5 additions & 0 deletions Software/lib/GNSE_TRACER/tiny_printf/tiny_printf_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
//
///////////////////////////////////////////////////////////////////////////////

#ifndef _TINY_PRINTF_CONF_H_
#define _TINY_PRINTF_CONF_H_

// support for the floating point type (%f)
// default: activated
#define TINY_PRINTF_SUPPORT_FLOAT
Expand Down Expand Up @@ -64,3 +67,5 @@
// define the largest float suitable to print with %f
// default: 1e9
#define TINY_PRINTF_MAX_FLOAT 1e9

#endif // _TINY_PRINTF_CONF_H_

0 comments on commit 80b9796

Please sign in to comment.