Skip to content

Commit

Permalink
too large
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Jul 3, 2024
1 parent 6a31329 commit e79314c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/pixljs_alert/zero_ble.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ def get_rpi_status():
if os.path.exists(calibration_file):
with open(calibration_file, "r") as calib:
json_doc = json.load(calib)
sensitivity = "%.2f dBFS@94dB" % json_doc["sensitivity"]
sensitivity = "%.1f dBFS@94dB" % json_doc["sensitivity"]
except json.JSONDecodeError as e:
pass
mic = "OK (%s)" % sensitivity
mic = "OK %s" % sensitivity
break
except subprocess.CalledProcessError as e:
pass
Expand Down

0 comments on commit e79314c

Please sign in to comment.