STM32F1 USB cdc/msc composite device (#15180)
Co-Authored-By: bigtreetech <38851044+bigtreetech@users.noreply.github.com>
This commit is contained in:
@ -1105,9 +1105,9 @@ void CLCD::init (void) {
|
||||
mem_write_8(REG::CSPREAD, FTDI::CSpread);
|
||||
|
||||
/* write a basic display-list to get things started */
|
||||
mem_write_32(MAP::RAM_DL, DL::CLEAR_COLOR_RGB);
|
||||
mem_write_32(MAP::RAM_DL + 4, (DL::CLEAR | 0x07)); /* clear color, stencil and tag buffer */
|
||||
mem_write_32(MAP::RAM_DL + 8, DL::DL_DISPLAY); /* end of display list */
|
||||
mem_write_32(MAP::RAM_DL, DL::CLEAR_COLOR_RGB);
|
||||
mem_write_32(MAP::RAM_DL + 4, (DL::CLEAR | 0x07)); /* clear color, stencil and tag buffer */
|
||||
mem_write_32(MAP::RAM_DL + 8, DL::DL_DISPLAY); /* end of display list */
|
||||
|
||||
mem_write_8(REG::DLSWAP, 0x02); // activate display list, Bad Magic Cookie 2 = switch to new list after current frame is scanned out
|
||||
|
||||
|
Reference in New Issue
Block a user