Skip to content

Commit

Permalink
dead
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Sep 23, 2024
1 parent cd4ffd6 commit 3010885
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 362 deletions.
44 changes: 0 additions & 44 deletions reader/src/main/java/com/rusefi/can/CAN2TS.java

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package com.rusefi.can.deprecated;

import com.rusefi.can.CANPacket;
import com.rusefi.can.deprecated.decoders.bmw.Bmw0BA;
import com.rusefi.can.deprecated.decoders.bmw.Bmw192;
import com.rusefi.can.reader.CANLineReader;
import com.rusefi.can.reader.impl.CANoeReader;

Expand Down Expand Up @@ -30,12 +28,6 @@ public static void validate(String inputFileName, CANLineReader reader) throws I
for (CANPacket packet : packetList) {
allIds.put(packet.getId(), packet.getId());

if (packet.getId() == Bmw192.ID)
Bmw192.INSTANCE.decode(packet);

if (packet.getId() == Bmw0BA.ID)
Bmw0BA.INSTANCE.decode(packet);

}

String outputFileName = "all_ids.txt";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public void testLine() {
CANLineReader reader = PcanTrcReader2_0.INSTANCE;
CANPacket packet = reader.readLine(" 15883 77333097.212 DT 0192 Rx 4 2D 04 80 F9 ");
assertEquals(4, packet.getData().length);
assertEquals(Bmw192.ID, packet.getId());
assertEquals(0x192, packet.getId());

assertEquals(0x80, packet.getUnsigned(2));
}
Expand Down

0 comments on commit 3010885

Please sign in to comment.