Skip to content

Commit

Permalink
Fixed control flow issue with loop
Browse files Browse the repository at this point in the history
  • Loading branch information
morrisonbrett committed Feb 22, 2016
1 parent d9e23d6 commit bd42ae6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TeslaCommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ func main() {
// If the distance is outside the radius, that means vehicle is outside the GeoFence. Ok to get out
if distance > float64(radius) {
ingeofence = false
continue
}

// This is to prevent the below logic, if it's already executed, no need to keep doing it
Expand Down

0 comments on commit bd42ae6

Please sign in to comment.