Fixed compilation errors in M17 demodulator logger

This commit is contained in:
Silvano Seva 2023-11-12 12:41:35 +01:00
parent 75abbaa12c
commit 7ccfbe62c8
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ using namespace M17;
#ifdef ENABLE_DEMOD_LOG #ifdef ENABLE_DEMOD_LOG
#include <ringbuf.h> #include <ringbuf.hpp>
#include <atomic> #include <atomic>
#ifndef PLATFORM_LINUX #ifndef PLATFORM_LINUX
#include <usb_vcom.h> #include <usb_vcom.h>
@ -98,7 +98,7 @@ static void *logFunc(void *arg)
} }
#ifdef PLATFORM_LINUX #ifdef PLATFORM_LINUX
fprintf(csv_log, "%" PRId16 ",%d,%f,%d,%f,%f,%d,%d,%d\n", fprintf(csv_log, "%d,%d,%f,%d,%f,%f,%d,%d,%d\n",
entry.sample, entry.sample,
entry.conv, entry.conv,
entry.conv_th, entry.conv_th,