Skip to content

Commit 114a55e

Browse files
committed
Removed unused flags from String (free 1 byte of SRAM)
1 parent 2fdb320 commit 114a55e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

hardware/arduino/avr/cores/arduino/WString.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ inline void String::init(void)
134134
buffer = NULL;
135135
capacity = 0;
136136
len = 0;
137-
flags = 0;
138137
}
139138

140139
void String::invalidate(void)

hardware/arduino/avr/cores/arduino/WString.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ class String
191191
char *buffer; // the actual char array
192192
unsigned int capacity; // the array length minus one (for the '\0')
193193
unsigned int len; // the String length (not counting the '\0')
194-
unsigned char flags; // unused, for future features
195194
protected:
196195
void init(void);
197196
void invalidate(void);

0 commit comments

Comments
 (0)