Skip to content

Commit

Permalink
fix bitfield
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardotornesello committed Aug 15, 2024
1 parent 02629e8 commit c1bebae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (v TelemetryVar) Array() interface{} {
}
return arr
case VarTypeBitField:
arr := make([]string, v.Header.Count)
arr := make([]uint32, v.Header.Count)
for i := 0; i < v.Header.Count; i++ {
arr[i] = Byte4toBitField(v.RawValue[i*4 : (i+1)*4])
}
Expand Down

0 comments on commit c1bebae

Please # to comment.