From ffe3126a85fb95062ae418fbf3c449015497713a Mon Sep 17 00:00:00 2001 From: Nate Bargmann Date: Sat, 22 Aug 2015 11:21:23 -0500 Subject: [PATCH] Make cnctrk visible to rotctl After all these years one would think I would remember to read the directions for all the steps involved. Ummm, nope! cnctrk is now visible to rotctl. --- cnctrk/cnctrk.c | 2 +- src/rot_reg.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cnctrk/cnctrk.c b/cnctrk/cnctrk.c index 683225cb2..d48e3d7dd 100644 --- a/cnctrk/cnctrk.c +++ b/cnctrk/cnctrk.c @@ -83,7 +83,7 @@ const struct rot_caps cnctrk_rot_caps = { DECLARE_INITROT_BACKEND(cnctrk) { - rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__); + rig_debug(RIG_DEBUG_VERBOSE, "cnctrk: _init called\n"); rot_register(&cnctrk_rot_caps); diff --git a/src/rot_reg.c b/src/rot_reg.c index fb78ed4e0..5ebc28845 100644 --- a/src/rot_reg.c +++ b/src/rot_reg.c @@ -74,6 +74,7 @@ DEFINE_INITROT_BACKEND(amsat); DEFINE_INITROT_BACKEND(ts7400); DEFINE_INITROT_BACKEND(celestron); DEFINE_INITROT_BACKEND(ether6); +DEFINE_INITROT_BACKEND(cnctrk); /*! \def ROT_BACKEND_LIST * \brief Static list of rotator models. @@ -106,6 +107,7 @@ static struct { { ROT_TS7400, ROT_BACKEND_TS7400, ROT_FUNCNAMA(ts7400) }, { ROT_CELESTRON, ROT_BACKEND_CELESTRON, ROT_FUNCNAMA(celestron) }, { ROT_ETHER6, ROT_BACKEND_ETHER6, ROT_FUNCNAMA(ether6) }, + { ROT_CNCTRK, ROT_BACKEND_CNCTRK, ROT_FUNCNAMA(cnctrk) }, { 0, NULL }, /* end */ };