Skip to content

Commit

Permalink
Add marks & issue on GitHub #2
Browse files Browse the repository at this point in the history
  • Loading branch information
hellensoloviy committed Jun 1, 2017
1 parent 6c782b2 commit 1b30a63
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions OBD2-Swift/OBD2-Swift/Parser/Descriptor01.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ class Mode01Descriptor : DescriptorProtocol {
case 0x12:
return calculateSecondaryAirStatus(data)
case 0x13:
return calculateOxygenSensorsPresent(data)
return calculateOxygenSensorsPresent(data) //Oxygen Sensors Present (2 banks)
case 0x1C:
return calculateDesignRequirements(data)
case 0x1D:
return "" //TODO: pid 29 - Oxygen Sensor
return "" //TODO: Oxygen Sensors Present (4 banks)
case 0x1E:
return calculateAuxiliaryInputStatus(data)
default:
Expand Down Expand Up @@ -220,6 +220,7 @@ class Mode01Descriptor : DescriptorProtocol {
return returnString
}

//not used method
func calculateOxygenSensorsPresentB(_ data : Data) -> String {
var returnString : String = ""
let dataA = data[0]
Expand Down

0 comments on commit 1b30a63

Please sign in to comment.