Skip to content

Commit e3ea732

Browse files
committed
Merge pull request arduino#49 from mapnull/hotfix
fix convBuf size to print P_CUSTOM payloads
2 parents e1fa3dc + 70e457d commit e3ea732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/MySensors/MySensor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ class MySensor : public RF24
267267

268268
private:
269269
#ifdef DEBUG
270-
char convBuf[MAX_PAYLOAD];
270+
char convBuf[MAX_PAYLOAD*2+1];
271271
#endif
272272
uint8_t failedTransmissions;
273273
uint8_t *childNodeTable; // In memory buffer for routing information to other nodes. also stored in EEPROM

0 commit comments

Comments
 (0)