Skip to content

Commit 41fbc7a

Browse files
committed
Fix incorrect variable name
1 parent b6d20c4 commit 41fbc7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Camera/extras/WebSerialCamera/serialConnectionHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class SerialConnectionHandler {
173173
timeoutID = setTimeout(() => {
174174
console.log('⌛️ Timeout occurred while reading.');
175175
if (this.currentPort?.readable) reader?.cancel();
176-
this.transformer.flush();
176+
this.currentTransformer.flush();
177177
}, this.timeout);
178178
}
179179
const { value, done } = await reader.read();

0 commit comments

Comments
 (0)