Changeset 43c1c0a in subsurface


Ignore:
Timestamp:
Dec 27, 2017, 11:45:24 AM (4 weeks ago)
Author:
Lubomir I. Ivanov <neolit123@…>
Branches:
master
Children:
d3118be
Parents:
6372105
git-author:
Miika Turkia <miika.turkia@…> (12/27/17 06:50:32)
git-committer:
Lubomir I. Ivanov <neolit123@…> (12/27/17 11:45:24)
Message:

Check different sensors on divinglog import

Signed-off-by: Miika Turkia <miika.turkia@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/import-divinglog.c

    r8f16ae6 r43c1c0a  
    218218                 */
    219219
    220                 if (!cur_dive->dc.no_o2sensors && (cur_sample->o2sensor[0].mbar || cur_sample->o2sensor[0].mbar || cur_sample->o2sensor[0].mbar)) {
     220                if (!cur_dive->dc.no_o2sensors && (cur_sample->o2sensor[0].mbar || cur_sample->o2sensor[1].mbar || cur_sample->o2sensor[2].mbar)) {
    221221                        cur_dive->dc.no_o2sensors = cur_sample->o2sensor[0].mbar ? 1 : 0 +
    222222                                 cur_sample->o2sensor[1].mbar ? 1 : 0 +
Note: See TracChangeset for help on using the changeset viewer.