run-in-simulavr.sh: fix bitfield conversion.
No major thing, even numbers had the last bit set.
This commit is contained in:
parent
c25547da15
commit
3ad9ad5594
|
|
@ -149,7 +149,7 @@ EOF
|
|||
else
|
||||
string = string "0";
|
||||
n *= 2;
|
||||
if (n > (2 ^ e))
|
||||
if (n >= (2 ^ e))
|
||||
n -= (2 ^ e);
|
||||
}
|
||||
return string;
|
||||
|
|
|
|||
Loading…
Reference in New Issue