mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Fixed check for referenced cores. See #1157
This commit is contained in:
@ -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());
|
||||
|
Reference in New Issue
Block a user