From 02b0603cc6c04804cbe0b79aba442c36e617495e Mon Sep 17 00:00:00 2001 From: AVartanyan <42091996+AramVartanyan@users.noreply.github.com> Date: Mon, 26 Sep 2022 23:57:39 +0300 Subject: [PATCH] Update lvgl_helpers.c --- lvgl_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lvgl_helpers.c b/lvgl_helpers.c index 3656103..57ab7dd 100644 --- a/lvgl_helpers.c +++ b/lvgl_helpers.c @@ -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" };