Skip to content

Commit

Permalink
fix visibility bug
Browse files Browse the repository at this point in the history
  • Loading branch information
evogelsa committed May 28, 2021
1 parent 734b5f4 commit a7544f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weather/weather.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func LogMETAR(wx WeatherData) {
metar += fmt.Sprintf("%03d%02dKT ", int(data.Wind.Degrees), int(data.Wind.SpeedKTS))

// visibility
metar += fmt.Sprintf("%sSM ", data.Visibility.Miles)
metar += fmt.Sprintf("%dSM ", int(data.Visibility.MilesFloat))

// clouds
if SelectedPreset == "" {
Expand Down

0 comments on commit a7544f4

Please sign in to comment.