Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public abstract class ModbusSerialTransport extends AbstractModbusTransport {
/**
* The number of nanoseconds there is in a second
*/
private static final int NS_IN_A_SEC = 1_000_000_000;
private static final double NS_IN_A_SEC = 1_000_000_000D;

private static final String CANNOT_READ_FROM_SERIAL_PORT = "Cannot read from serial port";
private static final String COMM_PORT_IS_NOT_VALID_OR_NOT_OPEN = "Comm port is not valid or not open";
Expand Down
Loading