I’m studying the code for the ILI9341 driver. I don’t understand what the following line does (lv_drv_conf.h:33):
#define LV_DRV_DISP_CMD_DATA(val) /*pin_x_set(val)*/ /*Set the command/data pin to 'val'*/
It looks like it might replace calls to LV_DRV_DISP_CMD_DATA with a commented out call to pin_x_set(val), but then how could the driver work?