Skip to content

Commit

Permalink
fix: dbc whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
FerroO2000 committed Jul 30, 2024
1 parent 25828a6 commit cdc4448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/dbc_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (w *DBCWriter) writeNodes(f *file, nodes map[string]*Node) {
nodeNames = append(nodeNames, nodeName)
}

str := []string{sym.DBCNode, ":"}
str := []string{sym.DBCNode + ":"}
str = append(str, nodeNames...)
f.print(str...)
f.print()
Expand Down Expand Up @@ -150,7 +150,7 @@ func (w *DBCWriter) writeSignal(f *file, sig *Signal) {
muxStr += "M"
}

f.print("\t", sym.DBCSignal, sig.signalName, muxStr, ":", byteDef, multiplier, valueRange, unit, receivers)
f.print(" ", sym.DBCSignal, sig.signalName, muxStr, ":", byteDef, multiplier, valueRange, unit, receivers)
}

func (w *DBCWriter) writeMuxGroup(f *file, messages map[string]*Message) {
Expand Down

0 comments on commit cdc4448

Please sign in to comment.