Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit d55dca5

Browse files
committed
update
1 parent 379f1d2 commit d55dca5

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

docs/conf.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -197,18 +197,3 @@
197197
# These paths are either relative to html_static_path
198198
# or fully qualified paths (eg. https://...)
199199
html_css_files = ["extra_css.css"]
200-
201-
202-
# -- Options for manual page output ---------------------------------------
203-
204-
# One entry per manual page. List of tuples
205-
# (source start file, name, description, authors, manual section).
206-
man_pages = [
207-
(
208-
master_doc,
209-
"MicroPython_ds3502_Library",
210-
"MicroPython ds3502 Library Documentation",
211-
[author],
212-
1,
213-
),
214-
]

micropython_ds3502/i2c_helpers.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ def __get__(
6969
obj,
7070
objtype=None,
7171
) -> int:
72-
7372
mem_value = obj._i2c.readfrom_mem(obj._address, self.register, self.lenght)
7473

7574
reg = 0
@@ -84,7 +83,6 @@ def __get__(
8483
return reg
8584

8685
def __set__(self, obj, value: int) -> None:
87-
8886
memory_value = obj._i2c.readfrom_mem(obj._address, self.register, self.lenght)
8987

9088
reg = 0
@@ -117,7 +115,6 @@ def __get__(
117115
obj,
118116
objtype=None,
119117
):
120-
121118
if self.lenght <= 2:
122119
value = struct.unpack(
123120
self.format,

0 commit comments

Comments
 (0)