Optimized LiquidCrystal class

removed dependecies to arduino Print and String classes
spared 522 bytes of flash and 84bytes of ram
This commit is contained in:
Robert Pelnar 2018-06-08 14:35:47 +02:00
parent 37f82118c8
commit e69fd05fce
5 changed files with 204 additions and 12 deletions
Firmware

View file

@ -25,7 +25,7 @@
#ifdef SDSUPPORT
#include "SdBaseFile.h"
#include <Print.h>
//#include <Print.h>
#ifndef SdFile_h
#define SdFile_h
//------------------------------------------------------------------------------
@ -33,7 +33,7 @@
* \class SdFile
* \brief SdBaseFile with Print.
*/
class SdFile : public SdBaseFile, public Print {
class SdFile : public SdBaseFile/*, public Print*/ {
public:
SdFile() {}
SdFile(const char* name, uint8_t oflag);