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
790d646a
Commit
790d646a
authored
Jan 28, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc update
parent
81fac33e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
solve.cpp
pcbnew/solve.cpp
+18
-2
No files found.
pcbnew/solve.cpp
View file @
790d646a
...
...
@@ -192,8 +192,13 @@ static long newmask[8] = { /* patterns to mask out in neighbor cells */
};
/* Macro d'affichage de l'activite du routeur; */
#define AFFICHE_ACTIVITE_ROUTE \
msg.Printf( wxT("Activity: Open %d Closed %d Moved %d"), OpenNodes, ClosNodes, MoveNodes); \
pcbframe->Affiche_Message(msg);
/********************************************************/
/* int WinEDA_PcbFrame::Solve(wxDC * DC, int two_sides) */
int
WinEDA_PcbFrame
::
Solve
(
wxDC
*
DC
,
int
two_sides
)
/********************************************************/
/* route all traces
...
...
@@ -202,7 +207,6 @@ static long newmask[8] = { /* patterns to mask out in neighbor cells */
* -2 si defaut alloc memoire
*/
int
WinEDA_PcbFrame
::
Solve
(
wxDC
*
DC
,
int
two_sides
)
{
int
current_net_code
;
int
row_source
,
col_source
,
row_target
,
col_target
;
...
...
@@ -534,6 +538,16 @@ static int Autoroute_One_Track( WinEDA_PcbFrame* pcbframe, wxDC* DC,
result
=
STOP_FROM_ESC
;
break
;
}
/* report every COUNT new nodes or so */
#define COUNT 20000
if
(
(
OpenNodes
-
lastopen
>
COUNT
)
||
(
ClosNodes
-
lastclos
>
COUNT
)
||
(
MoveNodes
-
lastmove
>
COUNT
))
{
lastopen
=
OpenNodes
;
lastclos
=
ClosNodes
;
lastmove
=
MoveNodes
;
AFFICHE_ACTIVITE_ROUTE
;
}
_self
=
0
;
if
(
curcell
&
HOLE
)
{
...
...
@@ -686,6 +700,8 @@ end_of_route:
Place_1_Pad_Board
(
pcbframe
->
GetBoard
(),
pt_cur_ch
->
pad_end
,
~
CURRENT_PAD
,
marge
,
WRITE_AND_CELL
);
AFFICHE_ACTIVITE_ROUTE
;
return
result
;
}
...
...
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