diff --git a/lvgl_tft/display_port.h b/lvgl_tft/display_port.h index f72c0d4..210e9ff 100644 --- a/lvgl_tft/display_port.h +++ b/lvgl_tft/display_port.h @@ -15,11 +15,13 @@ extern "C" #include #include -typedef enum { +enum { CMD_WIDTH_8BITS, CMD_WIDTH_16BITS, CMD_WIDTH_INVALID, -} cmd_width_t; +}; + +typedef uint8_t cmd_width_t; /** * Busy wait delay port