Skip to content

Commit

Permalink
fix: ignore OTA status during controller recovery
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Oct 9, 2024
1 parent d3179c3 commit f0ab175
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/zwave-js/src/lib/driver/Driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4148,7 +4148,7 @@ export class Driver extends TypedEventEmitter<DriverEventCallbacks>
"Attempting to recover controller again...",
"warn",
);
void this.softReset().catch(() => {
void this.softResetInternal(true).catch(() => {
this.driverLog.print(
"Automatic controller recovery failed. Returning to normal operation and hoping for the best.",
"warn",
Expand Down Expand Up @@ -4177,7 +4177,7 @@ export class Driver extends TypedEventEmitter<DriverEventCallbacks>
);

// Execute the soft-reset asynchronously
void this.softReset().then(() => {
void this.softResetInternal(true).then(() => {
// The controller responded. It is no longer unresponsive.

// Re-queue the transaction, so it can get handled next.
Expand Down

0 comments on commit f0ab175

Please sign in to comment.