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.
1 parent 348e38f commit eeeeb9cCopy full SHA for eeeeb9c
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