Skip to content

Commit 4650504

Browse files
Merge pull request #438 from fpistm/friend_declaration
Fix build issue with arm none eabi gcc v9.2.1
2 parents 1ccb2c0 + a142327 commit 4650504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class FirmataClass
128128

129129
/* private methods ------------------------------ */
130130
void strobeBlinkPin(byte pin, int count, int onInterval, int offInterval);
131-
friend void FirmataMarshaller::encodeByteStream (size_t bytec, uint8_t * bytev, size_t max_bytes = 0) const;
131+
friend void FirmataMarshaller::encodeByteStream (size_t bytec, uint8_t * bytev, size_t max_bytes) const;
132132

133133
/* callback functions */
134134
static callbackFunction currentAnalogCallback;

0 commit comments

Comments
 (0)