From: Keith Packard Date: Mon, 10 Dec 2012 02:27:49 +0000 (-0800) Subject: altos: Make sure pa to altitude conversion is done with 32 bits X-Git-Tag: micropeak-build-2012-12-09~1 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=defd5d0784a754be30e3295067fbc85a108ad172;hp=defd5d0784a754be30e3295067fbc85a108ad172;ds=sidebyside altos: Make sure pa to altitude conversion is done with 32 bits We need 32 bits to hold intermediate values, even if the final altitude is reported in only 16 bits. Signed-off-by: Keith Packard ---