Skip to content

Commit

Permalink
Enable all debugging flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudia Pellegrino authored and Claudia Pellegrino committed Jan 14, 2025
1 parent ef2aeb3 commit a2dde34
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/java/gnu/io/CommPort.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
*/
public abstract class CommPort extends Object {
protected String name;
private final static boolean debug = false;
private final static boolean debug = true;

public abstract void enableReceiveFraming( int f )
throws UnsupportedCommOperationException;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/gnu/io/CommPortEnumerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
class CommPortEnumerator implements Enumeration
{
private CommPortIdentifier index;
private final static boolean debug = false;
private final static boolean debug = true;
static
{
if (debug)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/gnu/io/CommPortIdentifier.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class CommPortIdentifier extends Object /* extends Vector? */
static CommPortIdentifier CommPortIndex;
CommPortIdentifier next;
private int PortType;
private final static boolean debug = false;
private final static boolean debug = true;
static Object Sync;
@SuppressWarnings("unchecked")
Vector ownershipListener;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/gnu/io/RXTXCommDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public class RXTXCommDriver implements CommDriver
{
private static Set<String> ports =new HashSet<String>();

private final static boolean debug = false;
private final static boolean debug = true;
private final static boolean devel = false;
private final static boolean noVersionOutput = "true".equals( System.getProperty( "gnu.io.rxtx.NoVersionOutput" ) );

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/gnu/io/RXTXPort.java
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ protected void finalize() throws Throwable
}
}
protected boolean HARDWARE_FAULT=false;
protected final static boolean debug = false;
protected final static boolean debug = true;
protected final static boolean debug_read = false;
protected final static boolean debug_read_results = false;
protected final static boolean debug_write = false;
Expand All @@ -136,7 +136,7 @@ protected void finalize() throws Throwable
static
{
try {
z = new Zystem(Zystem.SILENT_MODE);
z = new Zystem(Zystem.PRINT_MODE);
} catch ( Exception e ) {}

if(debug )
Expand Down

0 comments on commit a2dde34

Please sign in to comment.