Skip to content

Commit

Permalink
Fixed bug in i2c slave task
Browse files Browse the repository at this point in the history
  (wrong length returned to callback)
  • Loading branch information
loboris committed Jun 29, 2018
1 parent 2a1d14d commit e855ce8
Show file tree
Hide file tree
Showing 22 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ STATIC void i2c_slave_task(void *pvParameters)
// write transaction, data received from master
cb_type = I2C_SLAVE_CBTYPE_DATA_RX;
ovf = slave_state.rxovf;
len = slave_state.rxptr - slave_state.rxaddr;
len = slave_state.rxptr;
addr = slave_state.rxaddr;
}
cb_type &= i2c_obj->slave_cbtype; // mask allowed callback types
Expand Down
Binary file modified MicroPython_BUILD/firmware/MicroPython_LoBo_esp32.zip
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/MicroPython_LoBo_esp32_all.zip
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/MicroPython_LoBo_esp32_ota.zip
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/MicroPython_LoBo_esp32_psram.zip
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/MicroPython_LoBo_esp32_psram_all.zip
Binary file not shown.
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/MicroPython_LoBo_esp32_psram_ota.zip
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32/MicroPython.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32/bootloader/bootloader.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_all/MicroPython.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_all/bootloader/bootloader.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_ota/MicroPython.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_ota/bootloader/bootloader.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_psram/MicroPython.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_psram/bootloader/bootloader.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_psram_all/MicroPython.bin
Binary file not shown.
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_psram_all_bt/MicroPython.bin
Binary file not shown.
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_psram_ota/MicroPython.bin
Binary file not shown.
Binary file not shown.

0 comments on commit e855ce8

Please sign in to comment.