Skip to content

Commit

Permalink
fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Garfonso committed May 24, 2024
1 parent 26c7347 commit 600e4d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ class Rpi2 extends utils.Adapter {
}
this.log.debug('received all objects');
}
this.gpioControl = new GpioControl(this, this.log);
await this.subscribeStatesAsync('*');
await main(this);
await this.initPorts();
this.gpioControl = new GpioControl(this, this.log);
}

async initPorts() {
Expand Down

0 comments on commit 600e4d7

Please sign in to comment.