Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: parse_pins.cpp
- Revision:
- 6:873ac1d027c8
- Parent:
- 5:4490a0d9cb2a
- Child:
- 7:2a26fd6a2b36
diff -r 4490a0d9cb2a -r 873ac1d027c8 parse_pins.cpp
--- a/parse_pins.cpp Mon Aug 19 18:37:40 2013 +0300
+++ b/parse_pins.cpp Thu Apr 03 20:45:12 2014 +0100
@@ -43,7 +43,7 @@
}
return port_pin((PortName)port, pin);
-#elif defined(TARGET_KL25Z)
+#elif defined(TARGET_KL25Z) || defined(TARGET_K64F)
if (str[0] == 'P' && str[1] == 'T') { // PTx_n
uint32_t port = str[2] - 'A';
uint32_t pin = str[3] - '0'; // PTxn