update changelogs for Debian build
[fw/altos] / src / ao_host.h
index 6b42f9f93e8775c8b3d1a1e9e34eee752948e2b4..fa03a9104c8bffd9581f1722f2021109a4d5f634 100644 (file)
@@ -117,30 +117,6 @@ struct ao_cmds {
 };
 
 
-static int16_t altitude_table[2048] = {
-#include "altitude.h"
-};
-
-int16_t
-ao_pres_to_altitude(int16_t pres) __reentrant
-{
-       pres = pres >> 4;
-       if (pres < 0) pres = 0;
-       if (pres > 2047) pres = 2047;
-       return altitude_table[pres];
-}
-
-int16_t
-ao_altitude_to_pres(int16_t alt) __reentrant
-{
-       int16_t pres;
-
-       for (pres = 0; pres < 2047; pres++)
-               if (altitude_table[pres] <= alt)
-                       break;
-       return pres << 4;
-}
-
 struct ao_config {
        uint16_t        main_deploy;
        int16_t         accel_zero_g;