Skip to content

Commit

Permalink
Fix pulse length splitting bug and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
rrooggiieerr committed May 15, 2023
1 parent ecec3f9 commit 4562425
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rfcontrolpy"
version = "0.0.3"
version = "0.0.4"
license = {text = "Apache-2.0"}
authors = [
{ name="Rogier van Staveren" }
Expand Down
2 changes: 1 addition & 1 deletion rfcontrol/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
"""
__version__ = "0.0.3"
__version__ = "0.0.4"

from rfcontrol import controller, helpers
2 changes: 1 addition & 1 deletion rfcontrol/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def prepare_compressed_pulses(input: str):
# 268 2632 1282 10168 0 0 0 0 010002000202000002000200020200020002...
# The first 8 numbers are the pulse length and the last string is the pulse sequence
parts = input.split(" ")
pulse_lengths = [int(i) for i in parts[0:7]]
pulse_lengths = [int(i) for i in parts[0:8]]
pulse_sequence = parts[8]

# Now lets filter out 0 pulses
Expand Down

0 comments on commit 4562425

Please sign in to comment.