Skip to content

Commit 8685d62

Browse files
committed
Coding style
1 parent f2f3a40 commit 8685d62

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/include/FlashString/Array.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
constexpr const struct { \
7777
FSTR::Array<ElementType> object; \
7878
ElementType data[size]; \
79-
} FSTR_PACKED name PROGMEM = {{sizeof(ElementType) * size}, {__VA_ARGS__}}; \
79+
} FSTR_PACKED name PROGMEM = {{sizeof(ElementType) * size}, {__VA_ARGS__}}; \
8080
FSTR_CHECK_STRUCT(name);
8181

8282
/**

src/include/FlashString/Map.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
constexpr const struct { \
104104
FSTR::Map<KeyType, ContentType> object; \
105105
FSTR::MapPair<KeyType, ContentType> data[size]; \
106-
} FSTR_PACKED name PROGMEM = {{sizeof(FSTR::MapPair<KeyType, ContentType>) * size}, {__VA_ARGS__}}; \
106+
} FSTR_PACKED name PROGMEM = {{sizeof(FSTR::MapPair<KeyType, ContentType>) * size}, {__VA_ARGS__}}; \
107107
FSTR_CHECK_STRUCT(name);
108108

109109
namespace FSTR

src/include/FlashString/String.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ typedef const __FlashStringHelper* flash_string_t;
9494
constexpr const struct { \
9595
FSTR::String object; \
9696
char data[ALIGNUP4(sizeof(str))]; \
97-
} FSTR_PACKED name PROGMEM = {{sizeof(str) - 1}, str}; \
97+
} FSTR_PACKED name PROGMEM = {{sizeof(str) - 1}, str}; \
9898
FSTR_CHECK_STRUCT(name);
9999

100100
/**

src/include/FlashString/Vector.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
constexpr const struct { \
9898
FSTR::Vector<ObjectType> object; \
9999
const ObjectType* data[size]; \
100-
} FSTR_PACKED name PROGMEM = {{sizeof(ObjectType*) * size}, {__VA_ARGS__}}; \
100+
} FSTR_PACKED name PROGMEM = {{sizeof(ObjectType*) * size}, {__VA_ARGS__}}; \
101101
FSTR_CHECK_STRUCT(name);
102102

103103
namespace FSTR

0 commit comments

Comments
 (0)