rusEFI console ISO-TP via PCAN #3667

better logging
This commit is contained in:
rusefillc 2021-12-07 15:19:27 -05:00
parent cc069ce350
commit 2daacabe42
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ public class PCanSandbox {
can.initializeAPI();
TPCANStatus status = can.Initialize(CHANNEL, TPCANBaudrate.PCAN_BAUD_500K, TPCANType.PCAN_TYPE_NONE, 0, (short) 0);
if (status != TPCANStatus.PCAN_ERROR_OK) {
System.out.println(status);
System.out.println("Error initializing PCAN: " + status);
return;
}
System.out.println("Hello PCAN " + can);