forked from kofal.net/zmk
feature(shields): Add nice!view
* Use two shield system, nice_view, and nice_view_adapter * Build system fixes for interconnect use.
This commit is contained in:
@@ -41,7 +41,11 @@ function groupedShield(agg: GroupedMetadata, shield: Shield) {
|
||||
ic.shields.push(shield);
|
||||
agg.interconnects[id] = ic;
|
||||
});
|
||||
|
||||
shield.exposes?.forEach((id) => {
|
||||
let ic = agg.interconnects[id] ?? { boards: [], shields: [] };
|
||||
ic.shields.push(shield);
|
||||
agg.interconnects[id] = ic;
|
||||
});
|
||||
return agg;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user