Update lvgl_helpers.c

This commit is contained in:
AVartanyan 2022-09-26 23:57:39 +03:00 committed by GitHub
parent f4fd82bd7e
commit 02b0603cc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,7 +154,7 @@ bool lvgl_spi_driver_init(int host,
int dma_channel,
int quadwp_pin, int quadhd_pin)
{
//assert((0 <= host) && (SPI_HOST_MAX > host));
assert((0 <= host) && (SPI_HOST_MAX > host));
const char *spi_names[] = {
"SPI1_HOST", "SPI2_HOST", "SPI3_HOST"
};