Skip to content

Commit 985c92f

Browse files
Dbg
1 parent e0b8f3b commit 985c92f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/src/services/DeviceService.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ export class DeviceService {
124124
}
125125

126126
async sendCommand(code: string): Promise<boolean> {
127+
console.log('Before reconnect check');
127128
if (code.includes(reconnectString)) {
128129
// Reconnect the device or connect for the first time
129130
console.log('Reconnect command detected, reconnecting device...');
@@ -132,6 +133,7 @@ export class DeviceService {
132133
await this.connect();
133134
console.log('Device connected');
134135
}
136+
console.log('After reconnect check');
135137

136138
if (!this.transport || !this.transport.device.writable) {
137139
return false;

0 commit comments

Comments
 (0)