Skip to content

Commit

Permalink
Revert debug change
Browse files Browse the repository at this point in the history
  • Loading branch information
aschiffmann committed Jan 20, 2024
1 parent 858a953 commit 8a94a07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/generate/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ func (c *compiler) addMetadata() {
sig, ok := c.db.Signal(def.MessageID.ToCAN(), string(def.SignalName))
if !ok {
c.addWarning(&compileError{def: def, reason: "no declared signal"})
} else if def.AttributeName == "GenSigStartValue" {
}
if def.AttributeName == "GenSigStartValue" {
sig.DefaultValue = int(def.IntValue)
}
}
Expand Down

0 comments on commit 8a94a07

Please sign in to comment.