Skip to content
Snippets Groups Projects
Commit 2b64452c authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

kinetis: GPIO workaround for missing open drain support

parent a196bb43
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,11 @@ ...@@ -31,6 +31,11 @@
#include "bit.h" #include "bit.h"
#include "periph/gpio.h" #include "periph/gpio.h"
#ifndef PORT_PCR_ODE_MASK
/* For compatibility with Kinetis CPUs without open drain GPIOs (e.g. KW41Z) */
#define PORT_PCR_ODE_MASK 0
#endif
/** /**
* @brief Get the OCR reg value from the gpio_mode_t value * @brief Get the OCR reg value from the gpio_mode_t value
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment