Skip to content

Commit

Permalink
fixed ledoffall function
Browse files Browse the repository at this point in the history
  • Loading branch information
talkkonnect committed Aug 30, 2021
1 parent 6d4675f commit 83b11f5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func (b *Talkkonnect) ClientStart() {

if TargetBoard == "rpi" {
if !LedStripEnabled {
b.LEDOffAll()
LEDOffAll()
}
}

Expand Down
2 changes: 1 addition & 1 deletion clientcommands.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (b *Talkkonnect) CleanUp() {
oledDisplay(false, 7, 1, "www.talkkonnect.com")
}
if !LedStripEnabled {
b.LEDOffAll()
LEDOffAll()
} else {
MyLedStripLEDOffAll()
}
Expand Down
2 changes: 1 addition & 1 deletion commandkeys.go
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ func (b *Talkkonnect) cmdPanicSimulation() {
b.IsTransmitting = false

if PLowProfile {
b.LEDOffAll()
LEDOffAll()
log.Println("info: Low Profile Lights Option is Enabled. Turning All Leds Off During Panic Event")
if LCDEnabled {
log.Println("info: Low Profile Lights is Enabled. Turning Off Display During Panic Event")
Expand Down
2 changes: 1 addition & 1 deletion gpio.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ func LEDOffFunc(LED gpio.Pin) {
LED.Low()
}

func (b *Talkkonnect) LEDOffAll() {
func LEDOffAll() {
if TargetBoard != "rpi" {
return
}
Expand Down
2 changes: 1 addition & 1 deletion onevent.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (b *Talkkonnect) OnDisconnect(e *gumble.DisconnectEvent) {

if TargetBoard == "rpi" {
if !LedStripEnabled {
b.LEDOffAll()
LEDOffAll()
} else {
MyLedStripLEDOffAll()
}
Expand Down
2 changes: 1 addition & 1 deletion xmlparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import (

//version and release date
const (
talkkonnectVersion string = "1.67.22"
talkkonnectVersion string = "1.67.23"
talkkonnectReleased string = "Aug 30 2021"
)

Expand Down

0 comments on commit 83b11f5

Please sign in to comment.