Skip to content

Commit 190262f

Browse files
committed
using p_free() for names as it uses prefer PSRAM to be more consistent
1 parent 477b13a commit 190262f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wled00/FX.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ class Segment {
648648
inline uint16_t groupLength() const { return grouping + spacing; }
649649
inline uint8_t getLightCapabilities() const { return _capabilities; }
650650
inline void deactivate() { setGeometry(0,0); }
651-
inline Segment &clearName() { d_free(name); name = nullptr; return *this; }
651+
inline Segment &clearName() { p_free(name); name = nullptr; return *this; }
652652
inline Segment &setName(const String &name) { return setName(name.c_str()); }
653653

654654
inline static unsigned vLength() { return Segment::_vLength; }

0 commit comments

Comments
 (0)