From bd6a85f5066ccba21220bb4e46dcb65ea1b93c19 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 25 Oct 2014 21:02:16 +0300 Subject: [PATCH] disable slew rate --- teensy3/pins_teensy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teensy3/pins_teensy.c b/teensy3/pins_teensy.c index a45fc84..1c81ee9 100644 --- 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) { -- 2.39.2