tomsn1978

Results comments of tomsn1978

Restart the computer and immediately execute "wsl--update" on powershell. After that, my problem was solved

I have a single color screen model UC1618, which is similar to UC1701. I wrote a driver after fb_uc1701.c, which displays normally. Now I use qt to draw the screen...

```c static int write_vmem(struct fbtft_par *par, size_t offset, size_t len) { //dump_stack(); u16 *vmem16 = (u16 *)par->info->screen_buffer; u8 *buf; int x, y, i; int ret = 0; for (y =...

**[ 2.177186] fbtft_of_value: buswidth = 8 [ 2.181288] fbtft_of_value: debug = 0 [ 2.184990] fbtft_of_value: rotate = 0 [ 2.188779] fbtft_of_value: fps = 40 [ 2.322545] CPU: 0 PID: 1...

"When write_vmem() is called for the first time, the buffer is constrained to 0x00. I want to initialize this buffer to 0xFF."

Thank you. I have been looking for the right place to use memset(par->info->screen_buffer, 0xff, par->info->fix.smem_len)