Skip to content

Commit

Permalink
DEBUG setting in websocket handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyoung committed Sep 4, 2015
1 parent bae7767 commit 7d9d4c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/managementinterface.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ func handleManagementConnection(conn *websocket.Conn) {
if msg.Setting == "AHRS_Enabled" {
globalSettings.AHRS_Enabled = msg.Value
}
if msg.Setting == "DEBUG" {
globalSettings.DEBUG = msg.Value
}

saveSettings()
}
Expand Down

1 comment on commit 7d9d4c1

@bradanlane
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I was wondering why the return setting didn't stick.

Please sign in to comment.