mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-01 21:54:39 -04:00
MSVC serial fix-up
This commit is contained in:
@@ -9,7 +9,11 @@ PortSelectorDialog::PortSelectorDialog( wxWindow* parent, wxWindowID id, std::st
|
||||
int nPorts = comGetNoPorts();
|
||||
|
||||
for (int i = 0; i < nPorts; i++) {
|
||||
#ifdef WIN32
|
||||
m_portList->Append(comGetPortName(i));
|
||||
#else
|
||||
m_portList->Append(comGetInternalName(i));
|
||||
#endif
|
||||
}
|
||||
|
||||
comTerminate();
|
||||
|
||||
Reference in New Issue
Block a user