trigger and start button pins not displayed by "pins" command #2084
This commit is contained in:
parent
c4650076cf
commit
f62bcca7ea
|
@ -35,7 +35,7 @@ void efiExtiEnablePin(const char *msg, brain_pin_e brainPin, uint32_t mode, palc
|
||||||
if (port == NULL)
|
if (port == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
bool wasUsed = brain_pin_markUsed(brainPin, "EXTI input");
|
bool wasUsed = brain_pin_markUsed(brainPin, msg);
|
||||||
if (wasUsed) {
|
if (wasUsed) {
|
||||||
// error condition we shall bail
|
// error condition we shall bail
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue