mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-15 18:00:15 -04:00
fw: Add destination buffer size to read()
Signed-off-by: Daniel Lublin <daniel@lublin.se>
This commit is contained in:
parent
b292c72534
commit
f386cec1ed
3 changed files with 13 additions and 3 deletions
|
@ -56,6 +56,6 @@ void writebyte(uint8_t b);
|
|||
void write(uint8_t *buf, size_t nbytes);
|
||||
uint8_t readbyte();
|
||||
uint8_t readbyte_ledflash(int ledvalue, int loopcount);
|
||||
void read(uint8_t *buf, size_t nbytes);
|
||||
int read(uint8_t *buf, size_t bufsize, size_t nbytes);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue