Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
10ded82d
Commit
10ded82d
authored
Feb 12, 2008
by
lifekidyeaa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NET_LABEL should be sheet-local, not global throughout the hierarchy.
parent
03812618
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
netlist.cpp
eeschema/netlist.cpp
+5
-5
No files found.
eeschema/netlist.cpp
View file @
10ded82d
...
@@ -1098,16 +1098,16 @@ static void LabelConnect( ObjetNetListStruct* LabelRef )
...
@@ -1098,16 +1098,16 @@ static void LabelConnect( ObjetNetListStruct* LabelRef )
if
(
netTable
[
i
].
m_SheetList
!=
LabelRef
->
m_SheetList
)
if
(
netTable
[
i
].
m_SheetList
!=
LabelRef
->
m_SheetList
)
{
{
if
(
netTable
[
i
].
m_Type
!=
NET_LABEL
// (***)
if
(
netTable
[
i
].
m_Type
!=
NET_PINLABEL
&&
netTable
[
i
].
m_Type
!=
NET_PINLABEL
&&
netTable
[
i
].
m_Type
!=
NET_GLOBLABEL
&&
netTable
[
i
].
m_Type
!=
NET_GLOBLABEL
&&
netTable
[
i
].
m_Type
!=
NET_GLOBBUSLABELMEMBER
)
&&
netTable
[
i
].
m_Type
!=
NET_GLOBBUSLABELMEMBER
/*netTable[i].m_Type != NET_LABEL (***)*/
)
continue
;
continue
;
}
}
//regular labels are sheet-local;
//regular labels are sheet-local;
//NET_HIERLABEL are used to connect sheets.
//NET_HIERLABEL are used to connect sheets.
//NET_LABEL
can be either sheet-local or global.
//NET_LABEL
is sheet-local (***)
//
historically, it was global, so we must implement that (***)
//
NET_GLOBLABEL is global.
if
(
netTable
[
i
].
m_Type
==
NET_LABEL
if
(
netTable
[
i
].
m_Type
==
NET_LABEL
||
netTable
[
i
].
m_Type
==
NET_GLOBLABEL
||
netTable
[
i
].
m_Type
==
NET_GLOBLABEL
||
netTable
[
i
].
m_Type
==
NET_BUSLABELMEMBER
||
netTable
[
i
].
m_Type
==
NET_BUSLABELMEMBER
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment