Skip to content

Commit f83b080

Browse files
committed
style(wsen-pads): fix weather_station example formatting
1 parent 6ebc61c commit f83b080

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/wsen-pads/examples/weather_station.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
temperature = sensor.temperature()
2828

2929
print("P:", pressure, "hPa T:", temperature, "°C")
30-
flash.write_line(f"{temperature};{pressure}")
30+
flash.write_line(f"{temperature:.1f};{pressure:.1f}")
3131

3232
sleep(5)

0 commit comments

Comments
 (0)