Skip to content

Commit b445cac

Browse files
committed
style: add missing comments
1 parent 90625f8 commit b445cac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

features/light/effect.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ type EffectParams struct {
1616
Brightness uint8 `json:"brightness"`
1717
}
1818

19+
// NewEffectParams creates new effect parameters.
1920
func NewEffectParams(color uint8, speed uint8, brightness uint8) (*EffectParams, error) {
2021
if color > 7 {
2122
return nil, errors.Wrap(ErrOutOfRange, "color")

0 commit comments

Comments
 (0)