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:
Maurus Cuelenaere 2010-01-03 17:32:11 +00:00
parent 338b1dec5f
commit 69b182dc9a

View file

@ -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: