1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-24 13:21:23 +01:00

cleaning up

This commit is contained in:
Asbelos 2021-01-03 10:19:37 +00:00
parent cb0d2bcdc5
commit ff81b4d1b4
2 changed files with 2 additions and 10 deletions

View File

@ -22,11 +22,8 @@
#if defined(ARDUINO_ARCH_SAMD) #if defined(ARDUINO_ARCH_SAMD)
// Some processors use a gcc compiler that renames va_list!!! // Some processors use a gcc compiler that renames va_list!!!
#include <cstdarg> #include <cstdarg>
Print * StringFormatter::diagSerial= &SerialUSB; Print * StringFormatter::diagSerial= &SerialUSB;
#else
#elif defined(ARDUINO_ARCH_AVR)
Print * StringFormatter::diagSerial= &Serial;
#elif defined(ARDUINO_ARCH_MEGAAVR)
Print * StringFormatter::diagSerial=&Serial; Print * StringFormatter::diagSerial=&Serial;
#endif #endif
@ -44,7 +41,6 @@ void StringFormatter::diag( const FSH* input...) {
va_list args; va_list args;
va_start(args, input); va_start(args, input);
send2(diagSerial,input,args); send2(diagSerial,input,args);
diagSerial->flush();
} }
void StringFormatter::lcd(byte row, const FSH* input...) { void StringFormatter::lcd(byte row, const FSH* input...) {

View File

@ -1,10 +1,6 @@
#ifndef version_h #ifndef version_h
#define version_h #define version_h
#include "StringFormatter.h"
// const char VERSION[] FLASH ="0.2.0";
#define VERSION "3.0.1" #define VERSION "3.0.1"
#endif #endif