Skip to content

Commit c4ad14f

Browse files
committed
Fix bad merge
1 parent 3db3f16 commit c4ad14f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/services/cardKeyService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Usage: scanCard(123) // where 123 is the cardId `);
143143
// Keep reading bytes until the "end" byte is sent
144144
// The "end" byte is 0xbb
145145
while (!finished) {
146-
const { value } = await $rootScope.serialReader.read();
146+
const { value } = await $rootScope.serialDevice.reader.read();
147147
for (let i = 0; i < value.length; i++) {
148148
// First byte in a message should be 170, otherwise ignore and keep on going
149149
if (message.length === 0 && value[i] !== 170) {

0 commit comments

Comments
 (0)