Skip to content

Commit da8efea

Browse files
committed
Log only the chunk instead of the whole buffer
1 parent 2c12555 commit da8efea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mipi_display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ mipi_display_write_data(spi_device_handle_t spi, const uint8_t *data, size_t len
100100

101101
ESP_ERROR_CHECK(spi_device_polling_transmit(spi, &transaction));
102102
//ESP_ERROR_CHECK(spi_device_queue_trans(spi, &transaction, portMAX_DELAY));
103-
ESP_LOG_BUFFER_HEX_LEVEL(TAG, data, length, ESP_LOG_VERBOSE);
103+
ESP_LOG_BUFFER_HEX_LEVEL(TAG, data + i, chunk, ESP_LOG_VERBOSE);
104104
}
105105
}
106106

0 commit comments

Comments
 (0)