mirror of https://github.com/FOME-Tech/fome-fw.git
trigger and start button pins not displayed by "pins" command #2084
This commit is contained in:
parent
da70fdced4
commit
a65a5330de
|
@ -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