Skip to content

Commit a1730e1

Browse files
add handling for missing telem
1 parent acb6b23 commit a1730e1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pd.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ def decode(self):
175175
pins = self.wait([{0: 'r'}, {0: 'f'}, {'skip': self.dshot_cfg.samples_after_motorcmd}])
176176
else:
177177
pins = self.wait([{0: 'f'}, {0: 'r'}, {'skip': self.dshot_cfg.samples_after_motorcmd}])
178+
179+
#if self.samplenum == (self.samplenum + (1/self.samplerate * 30e-6):
180+
print((self.samplenum + (1/self.samplerate * 30e-6)))
181+
178182
#TODO: Increase skip to maximum time for effiency
179183
#TODO: Mark any changes in this time as errors? Option to reduce load?
180184

0 commit comments

Comments
 (0)