From 60c5b4654ef4e1da7b21f2ae72f105c01ec33a1c Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Thu, 24 Aug 2017 15:00:00 -0300 Subject: [PATCH] Removing bulky sprintf function --- Globals.h | 1 - SerialPort.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/Globals.h b/Globals.h index ee435a3..baec6dc 100644 --- a/Globals.h +++ b/Globals.h @@ -23,7 +23,6 @@ #if defined(STM32F10X_MD) #include #include "string.h" -#include #else #include #endif diff --git a/SerialPort.cpp b/SerialPort.cpp index 56ad365..715d4a2 100644 --- a/SerialPort.cpp +++ b/SerialPort.cpp @@ -1019,7 +1019,6 @@ void CSerialPort::printConf() char buff[60]; writeDebug("ZUMspot configuration:"); - sprintf(buff, "TX freq %lu Hz, RX freq %lu Hz", io.TXfreq(), io.RXfreq()); writeDebug(buff); writeDebug("D-Star dev (Hz):", io.devDSTAR()); writeDebug("DMR +1 sym dev (Hz):", io.devDMR());