Diff of /trunk/src/gps.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 253 by harbaum, Thu Jul 30 12:31:16 2009 UTC revision 277 by harbaum, Thu Sep 3 07:33:50 2009 UTC
# Line 62  location_changed(LocationGPSDevice *devi Line 62  location_changed(LocationGPSDevice *devi
62      gps_state->altitude = device->fix->altitude;      gps_state->altitude = device->fix->altitude;
63    else    else
64      gps_state->altitude = NAN;      gps_state->altitude = NAN;
65    
66      if(gps_state->cb)
67        if(gps_state->cb(gps_state->data))
68          gps_state->cb = NULL;
69  }  }
70    
71  void gps_init(appdata_t *appdata) {  void gps_init(appdata_t *appdata) {

Legend:
Removed from v.253  
changed lines
  Added in v.277