subsurface/core
Anton Lundin 725b70e64c Correctly find min o2 in get_dive_gas
When the import from a dive computer gives you 100% as the first gas,
the get_dive_gas never finds which gas had the lowest o2 percent.

This fixes the logic to find the lowest o2 percent in any dive cylinder
list.

Signed-off-by: Anton Lundin <glance@ac2.se>
2023-10-18 21:34:56 +13:00
..
settings
subsurface-qt
android.cpp
btdiscovery.cpp
btdiscovery.h
checkcloudconnection.cpp
checkcloudconnection.h
cloudstorage.cpp
cloudstorage.h
CMakeLists.txt core: use C++ std::strings for default directory and filename 2023-06-03 12:54:24 +02:00
cochran.c
cochran.h
color.cpp
color.h
compressibility.r
configuredivecomputer.cpp
configuredivecomputer.h
configuredivecomputerthreads.cpp
configuredivecomputerthreads.h
connectionlistmodel.cpp
connectionlistmodel.h
datatrak.c
datatrak.h
deco.c
deco.h
device.cpp
device.h
devicedetails.cpp
devicedetails.h
dive.c
dive.h
divecomputer.c
divecomputer.h
divefilter.cpp
divefilter.h
divelist.c Correctly find min o2 in get_dive_gas 2023-10-18 21:34:56 +13:00
divelist.h
divelog.cpp
divelog.h
divelogexportlogic.cpp
divelogexportlogic.h
divemode.h
divesite-helper.cpp
divesite.c
divesite.h
divesitehelpers.cpp
divesitehelpers.h
downloadfromdcthread.cpp
downloadfromdcthread.h
equipment.c
equipment.h
errorhelper.c
errorhelper.h
event.c
event.h
eventname.cpp
eventname.h
exif.cpp
exif.h
extradata.h
file.c
file.h
filterconstraint.cpp
filterconstraint.h
filterpreset.cpp
filterpreset.h
format.cpp
format.h
fulltext.cpp
fulltext.h
gas-model.c
gas.c
gas.h
gaspressures.c
gaspressures.h
gettext.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
gettextfromc.cpp
gettextfromc.h
git-access.c
git-access.h
globals.cpp
globals.h
imagedownloader.cpp
imagedownloader.h
import-cobalt.c
import-csv.c
import-csv.h
import-divinglog.c
import-seac.c
import-shearwater.c
import-suunto.c
interpolate.h
ios.cpp
libdivecomputer.c
libdivecomputer.h
liquivision.c
load-git.c
macos.cpp Build: Fix build warning on MacOS. 2023-06-12 08:04:30 -07:00
membuffer.cpp
membuffer.h
metadata.cpp
metadata.h
metrics.cpp
metrics.h
namecmp.h
ostctools.c
owning_ptrs.h
parse-gpx.cpp
parse-gpx.h
parse-xml.c
parse.c
parse.h
picture.c
picture.h
pictureobj.cpp
pictureobj.h
planner.c
planner.h
plannernotes.c
pref.c
pref.h
profile.c
profile.h
qt-ble.cpp
qt-ble.h
qt-gui.h
qt-init.cpp
qthelper.cpp
qthelper.h
qtserialbluetooth.cpp
range.h
sample.c
sample.h
save-git.c
save-html.c
save-html.h
save-profiledata.c
save-profiledata.h
save-xml.c
selection.cpp
selection.h
serial_ftdi.c
serial_usb_android.cpp
serial_usb_android.h
sha1.c
sha1.h
ssrf.h
statistics.c Equipment: Fix 'used' Gas Selection for CCR Dives. 2023-07-25 12:05:51 +12:00
statistics.h
string-format.cpp
string-format.h
strndup.h Add SPDX header to core C files 2017-04-29 13:32:55 -07:00
strtod.c
structured_list.h
subsurface-float.h
subsurface-string.h
subsurface-time.h
subsurfacestartup.c
subsurfacestartup.h
subsurfacesysinfo.cpp
subsurfacesysinfo.h
table.h
tag.c
tag.h
taxonomy.c
taxonomy.h
time.c
timer.c
timer.h
trip.c
trip.h
uemis-downloader.c
uemis.c
uemis.h
units.c
units.h
unix.cpp
uploadDiveLogsDE.cpp
uploadDiveLogsDE.h
uploadDiveShare.cpp
uploadDiveShare.h
version.c
version.h
videoframeextractor.cpp
videoframeextractor.h
webservice.h
windows.cpp
windowtitleupdate.cpp
windowtitleupdate.h
worldmap-options.h
worldmap-save.c
worldmap-save.h
xmlparams.cpp
xmlparams.h
xmp_parser.cpp
xmp_parser.h