Skip to content

Commit

Permalink
Merge branch 'develop' into feature-mac-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
salman2135 committed Feb 12, 2024
2 parents e77342c + c29453f commit 921c9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/explorepy/packet.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def _convert(self, bin_data):
offset=0)

self.firmware_version = ".".join([char for char in str(fw_num)[1:-1]])
self.sampling_rate = 16000 / (2 ** bin_data[2])
self.sampling_rate = int(16000 / (2 ** bin_data[2]))
self.adc_mask = [int(bit) for bit in format(bin_data[3], "#010b")[2:]]

def get_info(self):
Expand Down

0 comments on commit 921c9a6

Please sign in to comment.