Skip to content

Commit

Permalink
Bumped version to 0.4.0
Browse files Browse the repository at this point in the history
Update __init__.py and __version__.py
  • Loading branch information
aziascreations committed Jun 12, 2023
1 parent d038504 commit 5413f59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ebyte_e32/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ def read(self, byte_count: int = -1) -> bytearray | None:
"""
Reads bytes waiting in the UART bus' buffer.
:param byte_count: Tha maximum amount of bytes to read. (Default: `-1`)
:return: The data as a `bytearray` or `None`. (Maybe smaller than expected if not enough data is available)
:param byte_count: Tha maximum amount of bytes to read. (Default: ``-1``)
:return: The data as a ``bytearray`` or ``None``.
"""
return self._uart.read(byte_count if byte_count >= 0 else self.in_buffer)

Expand Down
2 changes: 1 addition & 1 deletion ebyte_e32/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"""

MAJOR = 0
MINOR = 3
MINOR = 4
PATCH = 0
VERSION = f"{MAJOR}.{MINOR}.{PATCH}"

0 comments on commit 5413f59

Please sign in to comment.