needs to be true else won't work
This commit is contained in:
parent
95664cbebf
commit
507ba451a2
@ -28,8 +28,8 @@ func NewLEDController() *LEDController {
|
|||||||
// turn both off
|
// turn both off
|
||||||
func (c *LEDController) Off() {
|
func (c *LEDController) Off() {
|
||||||
|
|
||||||
c.led1 = false
|
c.led1 = true
|
||||||
c.led2 = false
|
c.led2 = true
|
||||||
|
|
||||||
c.Disable1()
|
c.Disable1()
|
||||||
c.Disable2()
|
c.Disable2()
|
||||||
|
Loading…
Reference in New Issue
Block a user