This commit is contained in:
rusefi 2022-11-01 21:44:22 -04:00
parent 925fe9734c
commit 996f862c78
1 changed files with 1 additions and 1 deletions

View File

@ -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);