Fix for Arduino Due + 12864 Full Graphic Display (#14181)

This commit is contained in:
th33xitus 2019-06-29 08:37:02 +02:00 committed by Scott Lahteine
parent 34c8204d25
commit fe2c710b39

View file

@ -87,7 +87,7 @@ void u8g_spiSend_sw_DUE_mode_0(uint8_t val) { // 3MHz
MOSI_pPio->PIO_CODR = MOSI_dwMask; MOSI_pPio->PIO_CODR = MOSI_dwMask;
DELAY_NS(48); DELAY_NS(48);
SCK_pPio->PIO_SODR = SCK_dwMask; SCK_pPio->PIO_SODR = SCK_dwMask;
DELAY_NS(125); DELAY_NS(905);
val <<= 1; val <<= 1;
SCK_pPio->PIO_CODR = SCK_dwMask; SCK_pPio->PIO_CODR = SCK_dwMask;
} }