Skip to content

Commit 9c4034d

Browse files
some more fixes
1 parent 4971ed2 commit 9c4034d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_fingerprint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ def delete_model(self, location):
189189
def load_model(self, location, charbuf=1):
190190
"""Requests the sensor to load a model from the given memory location
191191
to the given charbuf. Returns the packet error code or success"""
192-
"""
193192
self._send_packet([_LOAD, charbuf, location >> 8, location & 0xFF])
194193
return self._get_packet(12)[0]
195194

@@ -212,7 +211,8 @@ def get_fpdata(self, buffer='char', charbuf=1):
212211
return res
213212

214213
def send_fpdata(self, data, buffer='char', charbuf=1):
215-
"""ONGOING"""
214+
"""Requests the sensor to receive data, either a fingerprint image or
215+
a character/template data. Data is the payload only."""
216216
if charbuf != 1 or charbuf != 2:
217217
# raise error or use default value?
218218
charbuf = 2

0 commit comments

Comments
 (0)