File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,19 @@ namespace firmata {
19
19
* The firmware version will not always equal the protocol version going forward.
20
20
* Query using the REPORT_FIRMWARE message.
21
21
*/
22
- static const int FIRMATA_FIRMWARE_MAJOR_VERSION = 2 ;
23
- static const int FIRMATA_FIRMWARE_MINOR_VERSION = 5 ;
24
- static const int FIRMATA_FIRMWARE_BUGFIX_VERSION = 4 ;
22
+ static const int FIRMWARE_MAJOR_VERSION = 2 ;
23
+ static const int FIRMWARE_MINOR_VERSION = 5 ;
24
+ static const int FIRMWARE_BUGFIX_VERSION = 4 ;
25
25
26
26
/* Version numbers for the protocol. The protocol is still changing, so these
27
27
* version numbers are important.
28
28
* Query using the REPORT_VERSION message.
29
29
*/
30
- static const int FIRMATA_PROTOCOL_MAJOR_VERSION = 2 ; // for non-compatible changes
31
- static const int FIRMATA_PROTOCOL_MINOR_VERSION = 5 ; // for backwards compatible changes
32
- static const int FIRMATA_PROTOCOL_BUGFIX_VERSION = 1 ; // for bugfix releases
30
+ static const int PROTOCOL_MAJOR_VERSION = 2 ; // for non-compatible changes
31
+ static const int PROTOCOL_MINOR_VERSION = 5 ; // for backwards compatible changes
32
+ static const int PROTOCOL_BUGFIX_VERSION = 1 ; // for bugfix releases
33
33
34
- static const int MAX_DATA_BYTES = 64 ; // max number of data bytes in incoming messages
34
+ static const int MAX_DATA_BYTES = 64 ; // max number of data bytes in incoming messages
35
35
36
36
// message command bytes (128-255/0x80-0xFF)
37
37
Original file line number Diff line number Diff line change 20
20
* The firmware version will not always equal the protocol version going forward.
21
21
* Query using the REPORT_FIRMWARE message.
22
22
*/
23
- #define FIRMATA_FIRMWARE_MAJOR_VERSION firmata::FIRMATA_FIRMWARE_MAJOR_VERSION
24
- #define FIRMATA_FIRMWARE_MINOR_VERSION firmata::FIRMATA_FIRMWARE_MINOR_VERSION
25
- #define FIRMATA_FIRMWARE_BUGFIX_VERSION firmata::FIRMATA_FIRMWARE_BUGFIX_VERSION
23
+ #define FIRMATA_FIRMWARE_MAJOR_VERSION firmata::FIRMWARE_MAJOR_VERSION
24
+ #define FIRMATA_FIRMWARE_MINOR_VERSION firmata::FIRMWARE_MINOR_VERSION
25
+ #define FIRMATA_FIRMWARE_BUGFIX_VERSION firmata::FIRMWARE_BUGFIX_VERSION
26
26
27
27
/* Version numbers for the protocol. The protocol is still changing, so these
28
28
* version numbers are important.
29
29
* Query using the REPORT_VERSION message.
30
30
*/
31
- #define FIRMATA_PROTOCOL_MAJOR_VERSION firmata::FIRMATA_PROTOCOL_MAJOR_VERSION // for non-compatible changes
32
- #define FIRMATA_PROTOCOL_MINOR_VERSION firmata::FIRMATA_PROTOCOL_MINOR_VERSION // for backwards compatible changes
33
- #define FIRMATA_PROTOCOL_BUGFIX_VERSION firmata::FIRMATA_PROTOCOL_BUGFIX_VERSION // for bugfix releases
31
+ #define FIRMATA_PROTOCOL_MAJOR_VERSION firmata::PROTOCOL_MAJOR_VERSION // for non-compatible changes
32
+ #define FIRMATA_PROTOCOL_MINOR_VERSION firmata::PROTOCOL_MINOR_VERSION // for backwards compatible changes
33
+ #define FIRMATA_PROTOCOL_BUGFIX_VERSION firmata::PROTOCOL_BUGFIX_VERSION // for bugfix releases
34
34
35
35
#ifdef MAX_DATA_BYTES
36
36
#undef MAX_DATA_BYTES
You can’t perform that action at this time.
0 commit comments