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.
Fork of mbed-rpc by
Diff: parse_pins.cpp
- Revision:
 - 13:cd20a596c0cc
 - Parent:
 - 12:3b049dde55d7
 
diff -r 3b049dde55d7 -r cd20a596c0cc parse_pins.cpp
--- a/parse_pins.cpp	Tue Mar 08 09:15:16 2016 +0000
+++ b/parse_pins.cpp	Wed May 11 16:56:45 2016 +0000
@@ -48,7 +48,7 @@
         }
         return port_pin((PortName)port, pin);
 
-#elif defined(TARGET_KL25Z) || defined(TARGET_KL05Z) || defined(TARGET_KL46Z) || defined(TARGET_K64F)
+#elif defined(TARGET_KL25Z) || defined(TARGET_KL05Z) || defined(TARGET_KL46Z) || defined(TARGET_K64F) || defined(TARGET_K22F)
     if (str[0] == 'P' && str[1] == 'T') {   // PTxn
         uint32_t port = str[2] - 'A';
         uint32_t pin  = str[3] - '0';       // PTxn
    