Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroChao authored and Pillar1989 committed Jan 2, 2020
1 parent f2f5a34 commit 81b6a60
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ namespace grove {
}
this.bit(0x7f, 0);
}
else
else if(dispData < 10000)
{
this.bit(dispData % 10, 3);
if(compare_01 > 90){
Expand All @@ -316,6 +316,13 @@ namespace grove {
this.bit(Math.floor(dispData / 1000) % 10, 0);
}
}
else
{
this.bit(9, 3);
this.bit(9, 2);
this.bit(9, 1);
this.bit(9, 0);
}
}

/**
Expand Down

0 comments on commit 81b6a60

Please sign in to comment.