mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
Fixed check for referenced cores. See #1157
This commit is contained in:
parent
9024fe455c
commit
6bfe877c45
@ -1278,9 +1278,10 @@ public class Base {
|
||||
continue;
|
||||
boolean firstRefBoardBlock = true;
|
||||
for (TargetBoard board : platf.getBoards().values()) {
|
||||
if (board.getReferencedPackageId() == null)
|
||||
String ref = board.getReferencedPackageId();
|
||||
if (ref == null || !ref.equals(targetPackage.getId()))
|
||||
continue;
|
||||
|
||||
|
||||
// Add a separator from the previous platform
|
||||
if (firstRefBoardBlock)
|
||||
boardsMenu.add(new JSeparator());
|
||||
|
Loading…
x
Reference in New Issue
Block a user