diff --git a/src/collectors/m10spg_clctr.c b/src/collectors/m10spg_clctr.c index 981bab2..94777f2 100644 --- a/src/collectors/m10spg_clctr.c +++ b/src/collectors/m10spg_clctr.c @@ -2,7 +2,6 @@ #include "../drivers/m10spg/ubx_def.h" #include "collectors.h" #include "logging.h" -#include union read_buffer { UBXNavPositionPayload pos; diff --git a/src/logging.h b/src/logging.h index 3849480..9e96238 100644 --- a/src/logging.h +++ b/src/logging.h @@ -15,6 +15,6 @@ void _fetcher_log(FILE *stream, log_level_e lvl, const char *file, const char *f ...); #define fetcher_log(stream, lvl, fmt_string, ...) \ - _fetcher_log((stream), (lvl), __FILE__, __FUNCTION__, __LINE__, (fmt_string), __VA_ARGS__) + _fetcher_log((stream), (lvl), __FILE__, __FUNCTION__, __LINE__, (fmt_string), ##__VA_ARGS__) #endif // _LOGGING_H_