Skip to content

Commit

Permalink
Use boardnames dbus style (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Sep 26, 2022
1 parent cedd66e commit 9a4ead5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ builds:
ldflags:
- -s -w
- -X main.version={{.Version}}
- -X main.board=supervised
- -X main.board=Supervised
goos:
- linux
goarch:
Expand Down
4 changes: 2 additions & 2 deletions boards/boards.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ func InitializeDBus(conn *dbus.Conn, board string) {
logging.Info.Printf("Exposing object %s with interface %s ...", objectPath, ifaceName)

// Initialize the board
if board == "yellow" {
if board == "Yellow" {
yellow.InitializeDBus(conn)
} else if board == "supervised" {
} else if board == "Supervised" {
supervised.InitializeDBus(conn)
} else {
logging.Info.Printf("No specific Board features for %s", board)
Expand Down

0 comments on commit 9a4ead5

Please sign in to comment.