fix address assignment

This commit is contained in:
Tracy Wadleigh 2020-05-17 15:16:38 -07:00 committed by GitHub
parent 17f45e24a3
commit c995b9c141
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ void sd_lld_init(void) {
SD1.uart.d_p = ((uint8_t *)&(LPUART0->DATA)) + 0; /* D: DATA, byte 4 */
#endif /* ! KINETIS_SERIAL0_IS_LPUART */
#if KINETIS_SERIAL0_IS_UARTLP
SD1.uart.c4_p = UART0->c4_p; /* fix up misconfigured C4 register */
SD1.uart.c4_p = &(UART0->C4); /* fix up misconfigured C4 register */
SD1.uart.uartlp_p = UART0;
SD1.uart.uart_p = NULL;
#elif KINETIS_SERIAL0_IS_LPUART