From: notaz Date: Sat, 25 Oct 2014 18:02:16 +0000 (+0300) Subject: disable slew rate X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd6a85f5066ccba21220bb4e46dcb65ea1b93c19;p=megadrive.git disable slew rate --- 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) {