Skip to content

Commit

Permalink
Bug fixed: pins were assigned in reverse order
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed May 14, 2022
1 parent 4c2de14 commit dbd842d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/services/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ angular.module('icestudio')
for (let i = 0; i < portInfo.size; i++) {
pins.push(
{
index: i.toString(),
index: (portInfo.size - 1 - i).toString(),
name: 'NULL',
value: 'NULL' //-- Pin value
});
Expand Down

0 comments on commit dbd842d

Please sign in to comment.