diff --git a/meshtastic/util.py b/meshtastic/util.py index 23fe246..55b2a27 100644 --- a/meshtastic/util.py +++ b/meshtastic/util.py @@ -370,7 +370,7 @@ def channel_hash(data: bytes) -> int: result = 0 for char in data: result ^= char - return + return result def generate_channel_hash(name, key) -> int: """generate the channel number by hashing the channel name and psk (accepts str or bytes for both)"""