From 5413f590ecdcabbe38f018a6e913865aabca8c66 Mon Sep 17 00:00:00 2001 From: Herwin Date: Mon, 12 Jun 2023 22:50:25 +0200 Subject: [PATCH] Bumped version to 0.4.0 Update __init__.py and __version__.py --- ebyte_e32/__init__.py | 4 ++-- ebyte_e32/__version__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ebyte_e32/__init__.py b/ebyte_e32/__init__.py index d1b3419..355b1c6 100644 --- a/ebyte_e32/__init__.py +++ b/ebyte_e32/__init__.py @@ -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) diff --git a/ebyte_e32/__version__.py b/ebyte_e32/__version__.py index eacd598..39f0b5c 100644 --- a/ebyte_e32/__version__.py +++ b/ebyte_e32/__version__.py @@ -6,6 +6,6 @@ """ MAJOR = 0 -MINOR = 3 +MINOR = 4 PATCH = 0 VERSION = f"{MAJOR}.{MINOR}.{PATCH}"