fix(rgb_lcd): relax the check for the data line GPIO

so we allow to leave some RGB data line unconnected by set the GPIO to -1
This commit is contained in:
morris
2024-01-30 18:16:20 +08:00
parent ff840b645d
commit b10dec96c5
3 changed files with 14 additions and 11 deletions

View File

@@ -28,6 +28,7 @@ extern "C" {
#define LCD_LL_CLK_FRAC_DIV_N_MAX 256 // LCD_CLK = LCD_CLK_S / (N + b/a), the N register is 8 bit-width
#define LCD_LL_CLK_FRAC_DIV_AB_MAX 64 // LCD_CLK = LCD_CLK_S / (N + b/a), the a/b register is 6 bit-width
#define LCD_LL_PCLK_DIV_MAX 64 // LCD_PCLK = LCD_CLK / MO, the MO register is 6 bit-width
#define LCD_LL_FIFO_DEPTH 16 // Async FIFO depth
/**
* @brief LCD data byte swizzle mode