removing magic constant

This commit is contained in:
rusefillc 2023-09-21 18:57:59 -04:00
parent a7a116e794
commit 0498b14e9e
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import static com.rusefi.can.reader.CANLineReader.getReader;
public class TrcToMlq {
public static ReaderType parseCurrentReaderTypeSetting() {
String property = System.getProperty("TRACE_READER", "PCAN");
String property = System.getProperty("TRACE_READER", ReaderType.PCAN2.name());
ReaderType readerType = ReaderType.valueOf(property);
System.out.println("getCurrentReaderType: " + readerType + " for [" + property + "]");
return readerType;