Ticket #856: elevation.patch

File elevation.patch, 419 bytes (added by rainer dorsch, 11 years ago)

Patch for elevation support on the n900

  • maemo/vehicle_maemo.c

     
    105105                        dbg(1,"Time: %f\n",priv->fix_time);
    106106                }
    107107
     108                if (device->fix->fields & LOCATION_GPS_DEVICE_ALTITUDE_SET) {
     109                        priv->height=device->fix->altitude;
     110                        dbg(1,"Elevation: %f\n",priv->height);
     111                }
     112
    108113        }
    109114
    110115        return;