Commit 6bfb344a authored by Damien George's avatar Damien George
Browse files

cc3200/mods/pybi2c: Raise OSError if readfrom_mem fails to write addr.

parent 22e2f4a0
......@@ -278,6 +278,8 @@ STATIC void pyb_i2c_readmem_into (mp_arg_val_t *args, vstr_t *vstr) {
if (!pyb_i2c_read (i2c_addr, (byte *)vstr->buf, vstr->len)) {
} else {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment