Skip to content

Commit

Permalink
v8 no longer crashes now that version(4) is sent
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Oct 23, 2023
1 parent 86d7cc8 commit 360f9e2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions bellows/ezsp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,13 +580,6 @@ async def write_config(self, config: dict, values: dict) -> None:
],
}

# Growing the buffer without being joined to network crashes v8 and earlier
(state,) = await self.networkState()

if state != self.types.EmberNetworkStatus.JOINED_NETWORK:
LOGGER.debug("Skipping growing packet buffer, not on a network")
del config[self.types.EzspConfigId.CONFIG_PACKET_BUFFER_COUNT.name]

# First, set the values
for cfg in values.values():
# XXX: A read failure does not mean the value is not writeable!
Expand Down

0 comments on commit 360f9e2

Please sign in to comment.