Skip to content

Commit

Permalink
Remove comments from previously removed code.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjefferson99 committed Apr 26, 2024
1 parent e5f2613 commit c83f2cd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions enviro/boards/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,6 @@ def wind_direction():
closest_index = -1
last_index = None

# ensure we have two readings that match in a row as otherwise if
# you read during transition between two values it can glitch
# fixes https://github.com/pimoroni/enviro/issues/20
voltage = 0.0

value = wind_direction_pin.read_voltage()
Expand Down

0 comments on commit c83f2cd

Please sign in to comment.