Skip to content

Commit

Permalink
Fixes #51
Browse files Browse the repository at this point in the history
  • Loading branch information
rbn42 committed Feb 21, 2021
1 parent 47e51d6 commit 61b2373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panon/backend/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def mainloop():
if not use_glDFT and spectrum_data is None:
# Set fps to 2 to lower CPU usage, when audio is unavailable.
latest_wave_data = spectrum_source.read(fps=2)
if smartmode:
if smart_mode:
spectrum_source.update_smart_device()
else:
latest_wave_data = spectrum_source.read()
Expand Down

0 comments on commit 61b2373

Please sign in to comment.