Skip to content

Commit f5969b9

Browse files
fix formatting and bump bugfix version
1 parent 50f537a commit f5969b9

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

Firmata.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Firmata.cpp - Firmata library v2.4.0 - 2014-12-21
2+
Firmata.cpp - Firmata library v2.4.1 - 2015-2-7
33
Copyright (C) 2006-2008 Hans-Christoph Steiner. All rights reserved.
44
55
This library is free software; you can redistribute it and/or
@@ -146,7 +146,7 @@ void FirmataClass::setFirmwareNameAndVersion(const char *name, byte major, byte
146146
// in case anyone calls setFirmwareNameAndVersion more than once
147147
free(firmwareVersionVector);
148148

149-
firmwareVersionVector = (byte *) malloc(firmwareVersionCount+1);
149+
firmwareVersionVector = (byte *) malloc(firmwareVersionCount + 1);
150150
firmwareVersionVector[firmwareVersionCount] = 0;
151151
firmwareVersionVector[0] = major;
152152
firmwareVersionVector[1] = minor;

Firmata.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Firmata.h - Firmata library v2.4.0 - 2014-12-21
2+
Firmata.h - Firmata library v2.4.1 - 2015-2-7
33
Copyright (C) 2006-2008 Hans-Christoph Steiner. All rights reserved.
44
55
This library is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
2121
* installed firmware. */
2222
#define FIRMATA_MAJOR_VERSION 2 // for non-compatible changes
2323
#define FIRMATA_MINOR_VERSION 4 // for backwards compatible changes
24-
#define FIRMATA_BUGFIX_VERSION 0 // for bugfix releases
24+
#define FIRMATA_BUGFIX_VERSION 1 // for bugfix releases
2525

2626
#define MAX_DATA_BYTES 64 // max number of data bytes in incoming messages
2727

extras/revisions.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
FIRMATA 2.4.1 - Feb 7, 2015
2+
3+
[core library]
4+
* Fixed off-by-one bug in setFirmwareNameAndVersion (Brian Schmalz)
5+
16
FIRMATA 2.4.0 - Dec 21, 2014
27

38
Changes from 2.3.6 to 2.4 that may impact existing Firmata client implementations:

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Firmata
2-
version=2.4.0
2+
version=2.4.1
33
author=Firmata Developers
44
maintainer=https://github.com/firmata/arduino
55
sentence=Enables the communication with computer apps using a standard serial protocol. For all Arduino boards.

release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cd temp
1515
find . -name "*.DS_Store" -type f -delete
1616
zip -r Firmata.zip ./Firmata/
1717
cd ..
18-
mv ./temp/Firmata.zip Firmata-2.4.0.zip
18+
mv ./temp/Firmata.zip Firmata-2.4.1.zip
1919

2020
#package for Arduino 1.5.x
2121
cp library.properties temp/Firmata
@@ -29,5 +29,5 @@ cd ..
2929
find . -name "*.DS_Store" -type f -delete
3030
zip -r Firmata.zip ./Firmata/
3131
cd ..
32-
mv ./temp/Firmata.zip Arduino-1.5.x-Firmata-2.4.0.zip
32+
mv ./temp/Firmata.zip Arduino-1.5.x-Firmata-2.4.1.zip
3333
rm -r ./temp

0 commit comments

Comments
 (0)