Description:
When parsing sample data from the "Dive Gear X" dive computer (using dc_device_foreach and related functions), the calculated depth values show inconsistent jumps in certain depth ranges (e.g., between 15-20 meters). This does not occur with other dive computers like Shearwater or Suunto.
Steps to Reproduce:
Connect "Dive Gear X" dive computer via libdc.
Download a dive log with samples spanning 10-25 meters depth.
Observe the parsed depth values in the sample list (e.g., using dc_sample_get_depth).
Note sudden depth spikes/drops without corresponding sensor data.
Expected Behavior:
Depth values should increase/decrease smoothly based on the sensor readings, without unnatural jumps.
Actual Behavior:
Depth values intermittently jump by ±2-3 meters in the 15-20m range, even when the dive profile is stable.