Skip to content

Commit

Permalink
docs: add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
CedricVanhaverbeke committed Jan 9, 2025
1 parent bf29074 commit 96d38e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/gpx/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ func setupChannels(
hasSpeed := trainer.Speed.AddListener(fileSpeedChar)
cadence = chanAvailability{c: fileSpeedChar, available: hasSpeed}

// the values are implicitely returned but I don't like that
// it's just for readability when using this function
return power, speed, cadence
}

Expand Down

0 comments on commit 96d38e8

Please sign in to comment.