auto-sync
This commit is contained in:
parent
69164469c4
commit
fa2af07f8f
|
@ -31,7 +31,7 @@
|
|||
* @brief Initialize the hardware output pin while also assigning it a logical name
|
||||
*/
|
||||
void initOutputPinExt(const char *msg, OutputPin *outputPin, ioportid_t port, uint32_t pinNumber, iomode_t mode) {
|
||||
if (outputPin->port != NULL) {
|
||||
if (outputPin->port != NULL && (outputPin->port != port || outputPin->pin != pinNumber)) {
|
||||
/**
|
||||
* here we check if another physical pin is already assigned to this logical output
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue