Skip to content

Commit

Permalink
Fix from Issue openyou#28.
Browse files Browse the repository at this point in the history
Read ALL the banks!
             \o
  • Loading branch information
mithro committed Aug 24, 2012
1 parent 6d6d948 commit 53613a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/fitbit.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def erase_data_bank(self, index, tstamp=None):
def get_data_bank(self):
data = []
cmd = 0x70 # Send 0x70 on first burst
for parts in range(20):
for parts in range(2000):
bank = self.check_tracker_data_bank(self.current_bank_id, cmd)
self.current_bank_id += 1
cmd = 0x60 # Send 0x60 on subsequent bursts
Expand Down

0 comments on commit 53613a1

Please sign in to comment.