testj1939: use address to string function from libj1939

canaddr2str() from testj1939 and libj1939's libj1939_addr2str provide
the same functionality. Remove the local helper function and use
libj1939_addr2str instead.

Signed-off-by: Bastian Stender <bst@pengutronix.de>
This commit is contained in:
Bastian Stender
2018-01-22 12:27:15 +01:00
parent 0bc94df9ca
commit 1f3f2f6163
3 changed files with 9 additions and 28 deletions
+2
View File
@@ -88,6 +88,7 @@ log2asc.o: lib.h
asc2log.o: lib.h
jspy.o: libj1939.h
jsr.o: libj1939.h
testj1939.o: libj1939.h
canframelen.o: canframelen.h
cansend: cansend.o lib.o
@@ -102,3 +103,4 @@ canbusload: canbusload.o canframelen.o
jspy: jspy.o libj1939.o
jsr: jsr.o libj1939.o
testj1939: testj1939.o libj1939.o