mirror of https://github.com/ARMmbed/mbed-os.git
NRF52: reloc_vector_table: check the RTS pin settings in code
Move the check from preprocessor to the if conditionpull/10652/head
parent
c048a34e00
commit
e8e1ef2a70
|
@ -113,7 +113,7 @@ void nrf_reloc_vector_table(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
#if (STDIO_UART_RTS != NC)
|
||||
|
||||
void mbed_sdk_init(void)
|
||||
{
|
||||
if (STDIO_UART_RTS != NC) {
|
||||
|
@ -123,4 +123,3 @@ void mbed_sdk_init(void)
|
|||
gpio_write(&rts, 0);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue