matlo / GIMX

The GIMX software.
GNU General Public License v3.0
590 stars 105 forks source link

[Orange Pi] Error message appearing on gimx-launcher startup #587

Closed matlo closed 6 years ago

matlo commented 6 years ago

Replace https://github.com/matlo/GIMX/blob/master/launcher/gimx-launcher.cpp#L503 with:

int pos = OutputChoice->FindString(wxT("ttyAMA0"));
if (pos != wxNOT_FOUND)
{
  OutputChoice->Delete(pos);
}