fixed bool parsing

This commit is contained in:
Alexander Sulfrian 2011-02-01 02:20:29 +01:00
parent 96caba59d2
commit df326ec97c

View File

@ -83,8 +83,7 @@ var parseFloat = function(data, precisionBits, exponentBits) {
};
p.parseBool = function(value) {
console.log(JSON.stringify(value));
return (parseBits(value, 16) == 0);
return (parseBits(value, 8) == 1);
}
p.parseInt16 = function(value) {