STM pin_function(), pin_mode(): return immediately when given pin is NC
Additionally, remove redundant pin checks against NC when above functions are used.
ls
1 parent 5aaf3b7 commit 713be4fd77017e2699999b2cac83ede2fbe2b6e5
@Przemyslaw Stekiel Przemyslaw Stekiel authored on 19 Feb 2020
Showing 4 changed files
View
targets/TARGET_STM/can_api.c
View
targets/TARGET_STM/pinmap.c
View
targets/TARGET_STM/serial_api.c
View
targets/TARGET_STM/stm_spi_api.c