components/prboom-esp32-compat/spi_lcd.c
//This function is called (in irq context!) just before a transmission starts. It will
//set the D/C line to the value indicated in the user field.
This function is called (in irq context!) just before a transmission starts. It will
set the D/C line to the value indicated in the user field.
This function is called ( in irq context! ) just before a transmission starts . It will set the D / C line to the value indicated in the user field .
void ili_spi_pre_transfer_callback(spi_transaction_t *t) 
{
    int dc=(int)t->user;
    gpio_set_level(PIN_NUM_DC, dc);
}
void ili_spi_pre_transfer_callback ( spi_transaction_t * t ) { int dc = ( int ) t -> user ; gpio_set_level ( PIN_NUM_DC , dc ) ; }
This function is called (in irq context!)
This function is called ( in irq context! )