docs
This commit is contained in:
parent
925fe9734c
commit
996f862c78
|
@ -410,6 +410,7 @@ static void setIgnitionPin(const char *indexStr, const char *pinName) {
|
|||
}
|
||||
|
||||
// this method is useful for desperate time debugging
|
||||
// readpin PA0
|
||||
void readPin(const char *pinName) {
|
||||
brain_pin_e pin = parseBrainPinWithErrorMessage(pinName);
|
||||
if (pin == Gpio::Invalid) {
|
||||
|
@ -419,7 +420,6 @@ void readPin(const char *pinName) {
|
|||
efiPrintf("pin %s value %d", hwPortname(pin), physicalValue);
|
||||
}
|
||||
|
||||
|
||||
// this method is useful for desperate time debugging or hardware validation
|
||||
static void benchSetPinValue(const char *pinName, int bit) {
|
||||
brain_pin_e pin = parseBrainPinWithErrorMessage(pinName);
|
||||
|
|
Loading…
Reference in New Issue