Browse Source

Fix digitalRead() while pin is output mode

teensy4-core
PaulStoffregen 6 years ago
parent
commit
66b0de6c15
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy4/digital.c

+ 1
- 1
teensy4/digital.c View File

@@ -116,6 +116,6 @@ void pinMode(uint8_t pin, uint8_t mode)
*(p->pad) = IOMUXC_PAD_HYS;
}
}
*(p->mux) = 5;
*(p->mux) = 5 | 0x10;
}


Loading…
Cancel
Save