Move multicast.h to include/hamlib and fix some other things

https://github.com/Hamlib/Hamlib/issues/695
pull/1289/head
Mike Black W9MDB 2023-05-09 11:46:54 -05:00
rodzic b67803358c
commit 04e10da6e3
4 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -3,4 +3,4 @@ noinst_HEADERS = bandplan.h num_stdio.h
nobase_include_HEADERS = hamlib/rig.h hamlib/riglist.h hamlib/rig_dll.h \
hamlib/rotator.h hamlib/rotlist.h hamlib/rigclass.h \
hamlib/rotclass.h hamlib/amplifier.h hamlib/amplist.h \
hamlib/ampclass.h hamlib/config.h
hamlib/ampclass.h hamlib/config.h hamlib/multicast.h

Wyświetl plik

@ -2480,7 +2480,7 @@ struct rig_cache {
* \brief Multicast data items the are unique per rig instantiation
* This is meant for internal Hamlib use only
*/
#include <multicast.h>
#include <hamlib/multicast.h>
struct multicast_s
{
int multicast_running;

Wyświetl plik

@ -178,9 +178,9 @@ void json_add_vfoA(RIG *rig, char *msg)
json_add_int(msg, "Width", rig->state.cache.widthMainA, 0);
}
#if 0 // not working quite yet
// what about full duplex? rx_vfo would be in rx all the time?
rig_debug(RIG_DEBUG_ERR, "%s: rx_vfo=%s, tx_vfo=%s, split=%d\n", __func__, rig_strvfo(rig->state.rx_vfo), rig_strvfo(rig->state.tx_vfo), rig->state.cache.split);
#if 0 // not working quite yet
printf("%s: rx_vfo=%s, tx_vfo=%s, split=%d\n", __func__, rig_strvfo(rig->state.rx_vfo), rig_strvfo(rig->state.tx_vfo), rig->state.cache.split);
if (rig->state.cache.split)
{