notaz.gp2x.de
/
teensytas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c28a7c8
)
disable slew rate
author
notaz
<notasas@gmail.com>
Sat, 25 Oct 2014 18:02:16 +0000
(21:02 +0300)
committer
notaz
<notasas@gmail.com>
Sat, 25 Oct 2014 18:10:38 +0000
(21:10 +0300)
teensy3/pins_teensy.c
patch
|
blob
|
blame
|
history
diff --git
a/teensy3/pins_teensy.c
b/teensy3/pins_teensy.c
index
a45fc84
..
1c81ee9
100644
(file)
--- a/
teensy3/pins_teensy.c
+++ b/
teensy3/pins_teensy.c
@@
-611,7
+611,7
@@
void pinMode(uint8_t pin, uint8_t mode)
if (mode == OUTPUT) {
*portModeRegister(pin) = 1;
- *config =
PORT_PCR_SRE |
PORT_PCR_DSE | PORT_PCR_MUX(1);
+ *config =
/*PORT_PCR_SRE |*/
PORT_PCR_DSE | PORT_PCR_MUX(1);
} else {
*portModeRegister(pin) = 0;
if (mode == INPUT) {