Onda VX747/VX777: fix not closing I²C all times
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24171 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
338b1dec5f
commit
69b182dc9a
1 changed files with 2 additions and 0 deletions
|
@ -171,6 +171,7 @@ L_try_again:
|
|||
}
|
||||
|
||||
__i2c_send_stop();
|
||||
i2c_close();
|
||||
return count - cnt;
|
||||
|
||||
device_err:
|
||||
|
@ -230,6 +231,7 @@ W_try_again:
|
|||
}
|
||||
|
||||
__i2c_send_stop();
|
||||
i2c_close();
|
||||
return count - cnt;
|
||||
|
||||
device_err:
|
||||
|
|
Loading…
Reference in a new issue