diff --git a/kenwood/Makefile.am b/kenwood/Makefile.am index 4c1b47fa9..6b8ddbbe7 100644 --- a/kenwood/Makefile.am +++ b/kenwood/Makefile.am @@ -1,4 +1,5 @@ -TSSRCLIST = ts870s.c ts570.c ts450s.c ts2000.c thd7.c thf7.c +TSSRCLIST = ts870s.c ts570.c ts450s.c ts2000.c ts950.c ts50s.c \ + thd7.c thf7.c lib_LTLIBRARIES = libhamlib-kenwood.la libhamlib_kenwood_la_SOURCES = $(TSSRCLIST) kenwood.c th.c diff --git a/kenwood/kenwood.c b/kenwood/kenwood.c index 56178ba5e..681522d4f 100644 --- a/kenwood/kenwood.c +++ b/kenwood/kenwood.c @@ -2,7 +2,7 @@ * Hamlib Kenwood backend - main file * Copyright (c) 2000,2001,2002 by Stephane Fillod * - * $Id: kenwood.c,v 1.24 2002-01-02 23:38:07 fillods Exp $ + * $Id: kenwood.c,v 1.25 2002-01-03 21:42:53 fillods Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -396,6 +396,11 @@ int kenwood_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width) return RIG_OK; } +int kenwood_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val) +{ + return -RIG_ENIMPL; +} + /* * assumes f!=NULL */ @@ -521,6 +526,13 @@ int kenwood_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) return RIG_OK; } + +int kenwood_set_func(RIG *rig, vfo_t vfo, setting_t func, int status) +{ + return -RIG_ENIMPL; +} + + /* * assumes status!=NULL * works for any 'format 1' command @@ -1041,6 +1053,8 @@ int initrigs_kenwood(void *be_handle) { rig_debug(RIG_DEBUG_VERBOSE, "kenwood: _init called\n"); + rig_register(&ts950sdx_caps); + rig_register(&ts50s_caps); rig_register(&ts450s_caps); rig_register(&ts570d_caps); rig_register(&ts570s_caps); diff --git a/kenwood/kenwood.h b/kenwood/kenwood.h index b2433d3f2..a7f94fd81 100644 --- a/kenwood/kenwood.h +++ b/kenwood/kenwood.h @@ -2,7 +2,7 @@ * Hamlib Kenwood backend - main header * Copyright (c) 2000,2001,2002 by Stephane Fillod * - * $Id: kenwood.h,v 1.15 2001-12-28 20:28:03 fillods Exp $ + * $Id: kenwood.h,v 1.16 2002-01-03 21:42:53 fillods Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -53,6 +53,8 @@ const char* kenwood_get_info(RIG *rig); int kenwood_set_trn(RIG *rig, int trn); int kenwood_get_trn(RIG *rig, int *trn); +extern const struct rig_caps ts950sdx_caps; +extern const struct rig_caps ts50s_caps; extern const struct rig_caps ts450s_caps; extern const struct rig_caps ts570d_caps; extern const struct rig_caps ts570s_caps;