Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/development' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve O'Hara committed Dec 9, 2023
2 parents 078031b + c3bfa4e commit 0c5eaae
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public SerialParameters() {
* @param flowControlIn Type of flow control for receiving.
* @param flowControlOut Type of flow control for sending.
* @param databits The number of data bits.
* @param stopbits The number of stop bits.
* @param stopbits The number of stop bits. com.fazecast.jSerialComm.SerialPort stop-bit constants should be used in this method (ONE_STOP_BIT, ONE_POINT_FIVE_STOP_BITS, TWO_STOP_BITS)
* @param parity The type of parity.
* @param echo Flag for setting the RS485 echo mode.
*/
Expand Down Expand Up @@ -131,7 +131,7 @@ public SerialParameters(String portName, int baudRate,
* @param flowControlIn Type of flow control for receiving.
* @param flowControlOut Type of flow control for sending.
* @param databits The number of data bits.
* @param stopbits The number of stop bits.
* @param stopbits The number of stop bits. com.fazecast.jSerialComm.SerialPort stop-bit constants should be used in this method (ONE_STOP_BIT, ONE_POINT_FIVE_STOP_BITS, TWO_STOP_BITS)
* @param parity The type of parity.
* @param echo Flag for setting the RS485 echo mode.
* @param rs485Mode Whether to enable RS-485 mode
Expand Down Expand Up @@ -402,9 +402,9 @@ public String getDatabitsString() {
}

/**
* Sets the number of stop bits.
* Sets the number of stop bits. com.fazecast.jSerialComm.SerialPort stop-bit constants should be used in this method (ONE_STOP_BIT, ONE_POINT_FIVE_STOP_BITS, TWO_STOP_BITS)
*
* @param stopbits the new number of stop bits setting.
* @param stopbits the new number of stop bits setting.
*/
public void setStopbits(int stopbits) {
if (stopbits <0 || stopbits > 3) {
Expand All @@ -414,7 +414,7 @@ public void setStopbits(int stopbits) {
}

/**
* Returns the number of stop bits as <tt>int</tt>.
* Returns the number of stop bits as <tt>int</tt>. com.fazecast.jSerialComm.SerialPort stop-bit constants are used in this method (ONE_STOP_BIT, ONE_POINT_FIVE_STOP_BITS, TWO_STOP_BITS)
*
* @return the number of stop bits as <tt>int</tt>.
*/
Expand Down

0 comments on commit 0c5eaae

Please sign in to comment.