Skip to content

Commit 77b4ac6

Browse files
committed
* inst/private/__arduino_serialportlist__.m: fix type of elis -> elseif
1 parent 38f9389 commit 77b4ac6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/private/__arduino_serialportlist__.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
list{end+1} = ports{i};
2424
endif
2525
endfor
26-
elif isunix()
27-
list = port_sort(list, @unix_port_compare)
26+
elseif isunix() && !ispc()
27+
list = port_sort(ports, @unix_port_compare);
2828
else
2929
list = ports;
3030
endif

0 commit comments

Comments
 (0)