mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2025-06-06 06:35:09 +02:00
fxlink: don't list non-CASIO devices in TUI
This commit is contained in:
parent
f1721186bb
commit
a98bbff1c9
1 changed files with 3 additions and 0 deletions
|
@ -113,6 +113,9 @@ static void TUI_render_status(void)
|
|||
struct fxlink_device *fdev = &TUI.devices.devices[i];
|
||||
struct fxlink_calc *calc = fdev->calc;
|
||||
|
||||
if(fdev->idVendor != 0x07cf)
|
||||
continue;
|
||||
|
||||
if(fdev->status == FXLINK_FDEV_STATUS_CONNECTED) {
|
||||
wattron(win, fmt_to_ncurses_attr(FMT_BGSELECTED));
|
||||
mvwhline(win, y, 0, ' ', w);
|
||||
|
|
Loading…
Add table
Reference in a new issue