Skip to content

Commit d07904a

Browse files
arturo182obra
authored andcommitted
Add readBytes stub to NoOpSerial
Signed-off-by: arturo182 <[email protected]>
1 parent bfda8e5 commit d07904a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/kaleidoscope/device/Base.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ class Base {
136136
int read() {
137137
return 0;
138138
}
139+
size_t readBytes(char *buffer, size_t length) {
140+
return 0;
141+
}
139142
};
140143

141144
NoOpSerial noop_serial_;

0 commit comments

Comments
 (0)