Skip to content

Commit

Permalink
Merge pull request #703 from jojo535275/develop
Browse files Browse the repository at this point in the history
Update compiler.js
  • Loading branch information
cavearr authored Oct 31, 2023
2 parents 20187bb + ccda8b3 commit 26f940b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/scripts/services/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -902,8 +902,8 @@ angular.module('icestudio')

if (pullmode === 'UP' || pullmode === 'DOWN') {
code += 'PULLMODE=' + pullmode;
}
code += ' IO_TYPE=LVCMOS33 DRIVE=4;\n\n';
}
code += ' ;\n\n';
}
} else if (block.data.pins.length > 0) {
pin = block.data.pins[0];
Expand All @@ -925,7 +925,7 @@ angular.module('icestudio')
if (pullmode === 'UP' || pullmode === 'DOWN') {
code += 'PULLMODE=' + pullmode;
}
code += ' IO_TYPE=LVCMOS33 DRIVE=4;\n\n';
code += ' ;\n\n';
}
}
}
Expand Down

0 comments on commit 26f940b

Please sign in to comment.