[TASK] meshviewer-ffrgb output add mac of link
This commit is contained in:
parent
93321ab3ad
commit
63eaa413d6
|
@ -55,7 +55,6 @@ type Autoupdater struct {
|
|||
Branch string `json:"branch,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
// Location struct
|
||||
type Location struct {
|
||||
Longtitude float64 `json:"longitude,omitempty"`
|
||||
|
@ -69,9 +68,8 @@ type Link struct {
|
|||
Target string `json:"target"`
|
||||
SourceTQ float32 `json:"source_tq"`
|
||||
TargetTQ float32 `json:"target_tq"`
|
||||
// keep the logic for maybe later implementation
|
||||
SourceMAC string `json:"-"`
|
||||
TargetMAC string `json:"-"`
|
||||
SourceMAC string `json:"source_mac"`
|
||||
TargetMAC string `json:"target_mac"`
|
||||
}
|
||||
|
||||
func NewNode(nodes *runtime.Nodes, n *runtime.Node) *Node {
|
||||
|
|
Loading…
Reference in New Issue