mirror of
https://github.com/mist64/perfect6502.git
synced 2025-02-06 04:30:10 +00:00
simplify pullup
This commit is contained in:
parent
fc74db2741
commit
830fb51453
3450
js/segdefs.js
3450
js/segdefs.js
File diff suppressed because it is too large
Load Diff
@ -52,12 +52,8 @@ function setup_part2(){
|
||||
function setupNodes(){
|
||||
var w = 0;
|
||||
for(var i in segdefs){
|
||||
var seg = segdefs[i];
|
||||
nodes[w] = {pullup: seg=='+',
|
||||
nodes[w++] = {pullup: segdefs[i],
|
||||
state: 'fl', gates: new Array(), c1c2s: new Array()};
|
||||
w++;
|
||||
if(w==ngnd) continue;
|
||||
if(w==npwr) continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user