Skip to content

Commit 6ac21c6

Browse files
fix compiler error for Arduino 1.0.6 and older
1 parent 1de9c19 commit 6ac21c6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Firmata.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ FirmataClass::FirmataClass()
6565
{
6666
firmwareVersionCount = 0;
6767
firmwareVersionVector = 0;
68+
blinkVersionDisabled = false;
6869
systemReset();
6970
}
7071

Firmata.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
Firmata.h - Firmata library v2.5.3 - 2016-06-18
33
Copyright (c) 2006-2008 Hans-Christoph Steiner. All rights reserved.
4-
Copyright (C) 2009-2015 Jeff Hoefs. All rights reserved.
4+
Copyright (C) 2009-2016 Jeff Hoefs. All rights reserved.
55
66
This library is free software; you can redistribute it and/or
77
modify it under the terms of the GNU Lesser General Public
@@ -201,7 +201,7 @@ class FirmataClass
201201
stringCallbackFunction currentStringCallback;
202202
sysexCallbackFunction currentSysexCallback;
203203

204-
boolean blinkVersionDisabled = false;
204+
boolean blinkVersionDisabled;
205205

206206
/* private methods ------------------------------ */
207207
void processSysexMessage(void);

0 commit comments

Comments
 (0)