File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
FIRMATA 2.4.0 - Dec 21, 2014
2
2
3
- **Changes from 2.3.6 to 2.4 that may impact existing Firmata client implementations:**
3
+ Changes from 2.3.6 to 2.4 that may impact existing Firmata client implementations:
4
+
4
5
* When sending a string from the client application to the board (STRING_DATA) a
5
6
static buffer is now used for the incoming string in place of a dynamically allocated
6
7
block of memory (see Firmata.cpp lines 181 - 205). In Firmata 2.3.6 and older,
7
8
the dynamically allocated block was never freed, causing a memory leak. If your
8
9
client library had freed this memory in the string callback method, that code
9
10
will break in Firmata 2.4. If the string data needs to persist beyond the string
10
11
callback, it should be copied within the string callback.
12
+
11
13
* As of Firmata 2.4, when digital port reporting or analog pin reporting is enabled,
12
14
the value of the port (digital) or pin (analog) is immediately sent back to the client
13
15
application. This will likely not have a negative impact on existing client
You can’t perform that action at this time.
0 commit comments