run-in-simulavr.sh: fix bitfield conversion.

No major thing, even numbers had the last bit set.
This commit is contained in:
Markus Hitter 2013-12-04 23:04:24 +01:00
parent c25547da15
commit 3ad9ad5594
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ EOF
else
string = string "0";
n *= 2;
if (n > (2 ^ e))
if (n >= (2 ^ e))
n -= (2 ^ e);
}
return string;