changeset 287:92c982f67247

fc-tmsh converted to link with librftab
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Nov 2017 00:32:16 +0000
parents 88a4ebed160d
children 730cdd32c3b9
files rvinterf/tmsh/Makefile rvinterf/tmsh/l1cmd.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rvinterf/tmsh/Makefile	Sat Nov 18 00:26:24 2017 +0000
+++ b/rvinterf/tmsh/Makefile	Sat Nov 18 00:32:16 2017 +0000
@@ -3,8 +3,8 @@
 PROG=	fc-tmsh
 OBJS=	abb.o abbtm3.o audiocmd.o audioresp.o etmbasic.o ffs2.o ffs2resp.o \
 	init.o l1cmd.o l1resp.o main.o misc.o omr.o omw.o oneshot.o pktsort.o \
-	rftablechk.o rftablerd.o rftablewr.o saverftab.o tmcore.o usercmd.o
-LIBS=	../libasync/libasync.a
+	rftablechk.o saverftab.o tmcore.o usercmd.o
+LIBS=	../libasync/libasync.a ../../librftab/librftab.a
 INSTBIN=/opt/freecalypso/bin
 
 all:	${PROG}
--- a/rvinterf/tmsh/l1cmd.c	Sat Nov 18 00:26:24 2017 +0000
+++ b/rvinterf/tmsh/l1cmd.c	Sat Nov 18 00:32:16 2017 +0000
@@ -315,7 +315,7 @@
 		return(ERROR_USAGE);
 	cmdpkt[1] = RF_TABLE_WRITE;
 	cmdpkt[2] = index;
-	rc = read_rf_table(argv[2], cmdpkt + 3, &format, &size);
+	rc = read_rf_table_ext(argv[2], cmdpkt + 3, 0, &format, &size);
 	if (rc)
 		return(rc);
 	if (argc > 3) {