Use the desciptors typename as the topic name
This commit is contained in:
parent
4b744820ea
commit
1f3d9c089a
3 changed files with 3 additions and 3 deletions
src/Network
|
@ -699,7 +699,7 @@ bool FGNativeCtrls::open() {
|
||||||
#if FG_HAVE_DDS
|
#if FG_HAVE_DDS
|
||||||
if ( io->get_type() == sgDDSType ) {
|
if ( io->get_type() == sgDDSType ) {
|
||||||
SG_DDS *dds = static_cast<SG_DDS*>(io);
|
SG_DDS *dds = static_cast<SG_DDS*>(io);
|
||||||
dds->setup("FG_DDS_Ctrls" , &FG_DDS_Ctrls_desc, sizeof (FG_DDS_Ctrls));
|
dds->setup(&FG_DDS_Ctrls_desc, sizeof (FG_DDS_Ctrls));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -739,7 +739,7 @@ bool FGNativeFDM::open() {
|
||||||
#if FG_HAVE_DDS
|
#if FG_HAVE_DDS
|
||||||
if ( io->get_type() == sgDDSType ) {
|
if ( io->get_type() == sgDDSType ) {
|
||||||
SG_DDS *dds = static_cast<SG_DDS*>(io);
|
SG_DDS *dds = static_cast<SG_DDS*>(io);
|
||||||
dds->setup("FG_DDS_FDM" , &FG_DDS_FDM_desc, sizeof (FG_DDS_FDM));
|
dds->setup(&FG_DDS_FDM_desc, sizeof (FG_DDS_FDM));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -474,7 +474,7 @@ bool FGNativeGUI::open() {
|
||||||
#if FG_HAVE_DDS
|
#if FG_HAVE_DDS
|
||||||
if ( io->get_type() == sgDDSType ) {
|
if ( io->get_type() == sgDDSType ) {
|
||||||
SG_DDS *dds = static_cast<SG_DDS*>(io);
|
SG_DDS *dds = static_cast<SG_DDS*>(io);
|
||||||
dds->setup("FG_DDS_GUI" , &FG_DDS_GUI_desc, sizeof (FG_DDS_GUI));
|
dds->setup(&FG_DDS_GUI_desc, sizeof (FG_DDS_GUI));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue