[][src]Function mynewt::hw::sensor::get_geolocation_data

pub unsafe extern "C" fn get_geolocation_data(
    sensor_data: sensor_data_ptr,
    dest: *mut sensor_geolocation_data
) -> i32

Interpret sensor_data as a sensor_geolocation_data struct that contains geolocation. Copy the sensor data into dest. Return 0 if successful. C API: int get_geolocation_data(void *sensor_data, struct sensor_geolocation_data *dest)