Skip to content

Commit 9727239

Browse files
committed
Fix for problem found by @C47D
See discussion at lvgl#70
1 parent 8dd8f94 commit 9727239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lvgl_tft/ssd1306.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ static uint8_t send_data(lv_disp_drv_t *disp_drv, void *bytes, size_t bytes_len)
215215

216216
uint8_t *data = (uint8_t *) bytes;
217217

218-
err = lvgl_i2c_write(OLED_I2C_PORT, OLED_I2C_ADDRESS, *data[0], data + 1, bytes_len - 1 );
218+
err = lvgl_i2c_write(OLED_I2C_PORT, OLED_I2C_ADDRESS, data[0], data + 1, bytes_len - 1 );
219219

220220
// i2c_cmd_handle_t cmd = i2c_cmd_link_create();
221221
//

0 commit comments

Comments
 (0)