Skip to content

Commit

Permalink
Push
Browse files Browse the repository at this point in the history
  • Loading branch information
clecat committed Mar 5, 2017
1 parent ae633d8 commit f52601d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/c4040.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ namespace nts
pin_num_this--;
if (this->pins[pin_num_this].getMode() == Pin::I)
return (this->pins[pin_num_this].compute());
if (pin_num_this == 2)
{
if (this->value == 16)
return (TRUE);
else
return (FALSE);
}
Tristate C = this->pins[9].compute();
Tristate R = this->pins[10].compute();
if (C == UNDEFINED || R == UNDEFINED)
Expand Down

0 comments on commit f52601d

Please sign in to comment.