We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0080d8f + eeeeb9c commit 5b447a6Copy full SHA for 5b447a6
src/jsdevices.c
@@ -63,7 +63,7 @@ typedef enum {
63
64
JshSerialDeviceState jshSerialDeviceStates[1+EV_SERIAL_MAX-EV_SERIAL_DEVICE_STATE_START];
65
/// Device clear to send hardware flow control pins (PIN_UNDEFINED if not used)
66
-Pin jshSerialDeviceCTSPins[EV_SERIAL_MAX-EV_SERIAL_DEVICE_STATE_START];
+Pin jshSerialDeviceCTSPins[1+EV_SERIAL_MAX-EV_SERIAL_DEVICE_STATE_START];
67
#define TO_SERIAL_DEVICE_STATE(X) ((X)-EV_SERIAL_DEVICE_STATE_START)
68
69
// ----------------------------------------------------------------------------
0 commit comments