Skip to content

Modifications in LCD_DSI_CmdMode_DoubleBuffer file->main.c in LCD_DSI_Cmd_DoubleBuffer_CM7 #9

@Multifalcon

Description

@Multifalcon

Line 283

#if (USE_LCD_CTRL_NT35510 > 0) // ADDED
NT35510_IO_t IOCtx; // ADDED
static NT35510_Object_t LCD_Obj; // ADDED and modified variable name
#endif /* USE_LCD_CTRL_NT35510 */ // ADDED

#if (USE_LCD_CTRL_OTM8009A > 0)
OTM8009A_IO_t IOCtx;
static OTM8009A_Object_t LCD_Obj; // Modified variable name
#endif /* USE_LCD_CTRL_OTM8009A */

Line 383
IOCtx.Address = 0;
IOCtx.GetTick = BSP_GetTick;
IOCtx.WriteReg = DSI_IO_Write;
IOCtx.ReadReg = DSI_IO_Read;
OTM8009A_RegisterBusIO(&LCD_Obj, &IOCtx); // MOdified variable name
Lcd_CompObj=(&LCD_Obj); // MOdified variable name
OTM8009A_Init(Lcd_CompObj, OTM8009A_COLMOD_RGB888, LCD_ORIENTATION_LANDSCAPE);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions