Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.40 KB | None | 0 0
  1. Index: vehicle_maemo.c
  2. ===================================================================
  3. --- vehicle_maemo.c (revision 3579)
  4. +++ vehicle_maemo.c (working copy)
  5. @@ -105,6 +105,11 @@
  6.             dbg(1,"Time: %f\n",priv->fix_time);
  7.         }
  8.  
  9. +       if (device->fix->fields & LOCATION_GPS_DEVICE_ALTITUDE_SET) {
  10. +           priv->height=device->fix->altitude;
  11. +           dbg(1,"Time: %f\n",priv->height);
  12. +       }
  13. +
  14.     }
  15.  
  16.     return;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement