Skip to content

Commit b9cb028

Browse files
Fix failing test.
1 parent 89b336f commit b9cb028

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/board/radio.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ export class Radio {
8585
this.config = config;
8686
this.rxQueue = [];
8787
if (!this.state.enabled) {
88-
this.state.enabled = true;
88+
this.state = {
89+
...this.state,
90+
enabled: true,
91+
group: config.group,
92+
};
8993
this.onChange({
9094
radio: this.state,
9195
});

0 commit comments

Comments
 (0)