Skip to content

Commit 3cd149c

Browse files
committed
Unify sysex payload naming to DATA
1 parent 6004516 commit 3cd149c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

FirmataConstants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static const int END_SYSEX = 0xF7; // end a MIDI Sysex message
5252
// extended command set using sysex (0-127/0x00-0x7F)
5353
/* 0x00-0x0F reserved for user-defined commands */
5454

55-
static const int SERIAL_MESSAGE = 0x60; // communicate with serial devices, including other boards
55+
static const int SERIAL_DATA = 0x60; // communicate with serial devices, including other boards
5656
static const int ENCODER_DATA = 0x61; // reply with encoders current positions
5757
static const int SERVO_CONFIG = 0x70; // set max angle, minPulse, maxPulse, freq
5858
static const int STRING_DATA = 0x71; // a string message with 14-bits per char

FirmataDefines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
#ifdef SERIAL_MESSAGE
102102
#undef SERIAL_MESSAGE
103103
#endif
104-
#define SERIAL_MESSAGE firmata::SERIAL_MESSAGE // communicate with serial devices, including other boards
104+
#define SERIAL_MESSAGE firmata::SERIAL_DATA // communicate with serial devices, including other boards
105105

106106
#ifdef ENCODER_DATA
107107
#undef ENCODER_DATA

0 commit comments

Comments
 (0)