Skip to content

Commit

Permalink
Fix issue with determining available zones
Browse files Browse the repository at this point in the history
  • Loading branch information
mantorok1 committed Dec 9, 2023
1 parent 28696e7 commit aa438de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RainBird/responses/AvailableZonesResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export class AvailableZonesResponse extends Response {
for (let i = 0; i < 32; i++) {
if ((zones & 1) === 1) {
this._zones.push(i + 1);
zones = zones >>> 1;
}
zones = zones >>> 1;
}
}

Expand Down

0 comments on commit aa438de

Please sign in to comment.