We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 623b114 + eb9bd02 commit 2514e7cCopy full SHA for 2514e7c
internal/generate/compile.go
@@ -173,6 +173,9 @@ func (c *compiler) addMetadata() {
173
if def.AttributeName == "GenSigStartValue" {
174
sig.DefaultValue = int(def.IntValue)
175
}
176
+ if def.AttributeName == "SystemSignalLongSymbol" {
177
+ sig.LongName = def.StringValue
178
+ }
179
180
181
pkg/descriptor/signal.go
@@ -8,8 +8,10 @@ import (
8
9
// Signal describes a CAN signal.
10
type Signal struct {
11
- // Description of the signal.
+ // Name of the signal.
12
Name string
13
+ // LongName of the signal.
14
+ LongName string
15
// Start bit.
16
Start uint16
17
// Length in bits.
0 commit comments