8000 as_i2c_i.py Fix bug where fail coro ran on startup. · adicon/micropython-async@402055e · GitHub
[go: up one dir, main page]

Skip to content

Commit 402055e

Browse files
committed
as_i2c_i.py Fix bug where fail coro ran on startup.
1 parent 66985f0 commit 402055e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

i2c/asi2c_i.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ def waitfor(self, val): # Wait for response for 1 sec
6464
async def reboot(self):
6565
self.close() # Leave own pin high
6666
if self.reset is not None:
67-
if self.cr_fail:
68-
await self.cr_fail(*self.f_args)
6967
rspin, rsval, rstim = self.reset
7068
self.verbose and print('Resetting target.')
7169
rspin(rsval) # 37A3 Pulse reset line

0 commit comments

Comments
 (0)
0