File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -963,7 +963,6 @@ forLooP:
963
963
} else {
964
964
break forLooP
965
965
}
966
-
967
966
}
968
967
return absPos , err
969
968
}
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ func TestReadCalibration(t *testing.T) {
48
48
log .Warn ().Msg ("time for parsing test files: " + fmt .Sprint (elapsed .Milliseconds ()))
49
49
startTime := time .Now ()
50
50
//find object in a2l struct
51
- obj := cd .getObjectByIdent ("ASAM.M.MATRIX_DIM_8_4_2.UBYTE.IDENTICAL" )
51
+ obj := cd .GetObjectByIdent ("ASAM.M.MATRIX_DIM_8_4_2.UBYTE.IDENTICAL" )
52
52
if len (obj ) == 0 {
53
53
t .Fatalf ("unable to find known identifier" )
54
54
}
Original file line number Diff line number Diff line change @@ -75,9 +75,9 @@ func (cd *CalibrationData) getRecordLayout(c *a2l.Characteristic) (*a2l.RecordLa
75
75
return & rl , nil
76
76
}
77
77
78
- // getObjectByIdent returns an object with a given identifier that is defined within the a2l
78
+ // GetObjectByIdent returns an object with a given identifier that is defined within the a2l
79
79
// not all datastructures are checked. Only the most relevant ones
80
- func (cd * CalibrationData ) getObjectByIdent (ident string ) []interface {} {
80
+ func (cd * CalibrationData ) GetObjectByIdent (ident string ) []interface {} {
81
81
var calibrationObjects []interface {}
82
82
var buf interface {}
83
83
var exists bool
You can’t perform that action at this time.
0 commit comments