log prints for testing

pull/101/head
Joseph Poirier 2015-11-06 22:32:05 -06:00
rodzic 88ec861fb7
commit c1932b26cc
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -271,6 +271,7 @@ func sdrWatcher() {
// has enabled both UAT and ES via the web interface.
id := 0
if globalSettings.UAT_Enabled {
log.Println("globalSettings.UAT_Enabled == true")
if count == 1 {
if ESDev != nil {
ESDev.shutdown()
@ -285,6 +286,7 @@ func sdrWatcher() {
}
if UATDev == nil {
log.Println("\tUATDev == nil")
// preference check based on stratux
// hardware serial when it exists
serial := ids[id]
@ -312,6 +314,7 @@ func sdrWatcher() {
// ES specific handling
id = 0
if globalSettings.ES_Enabled {
log.Println("globalSettings.ES_Enabled == true")
if count == 1 {
if globalSettings.UAT_Enabled {
// defer to the UAT handler
@ -326,6 +329,7 @@ func sdrWatcher() {
}
if ESDev == nil {
log.Println("\tESDev == nil")
// preference check based on stratux
// hardware serial when it exists
serial := ids[id]