Skip to content

Commit

Permalink
Add 'milliseconds' to duration javadoc (#119)
Browse files Browse the repository at this point in the history
Add 'milliseconds' to sendBreak duration javadoc
  • Loading branch information
aSemy authored Jan 9, 2022
1 parent bce14b4 commit 6886b44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/jssc/SerialNativeInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public static String getLibraryVersion() {
* Send Break signal for set duration
*
* @param handle handle of opened port
* @param duration duration of Break signal
* @param duration duration of Break signal, in milliseconds
* @return If the operation is successfully completed, the method returns true, otherwise false
*
* @since 0.8
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/jssc/SerialPort.java
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ public int getFlowControlMode() throws SerialPortException {
/**
* Send Break singnal for set duration
*
* @param duration duration of Break signal
* @param duration duration of Break signal, in milliseconds
*
* @return If the operation is successfully completed, the method returns true, otherwise false
*
Expand Down

0 comments on commit 6886b44

Please sign in to comment.