adds compatibility for unsigned integer in Argument class

Fork of mbed-rpc by Mbed

Files at this revision

API Documentation at this revision

Comitter:
rcflyair
Date:
Wed Sep 30 18:31:37 2015 +0000
Parent:
12:5ec81bc541b8
Commit message:
revision 2

Changed in this revision

parse_pins.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/parse_pins.cpp	Wed Sep 23 21:03:32 2015 +0000
+++ b/parse_pins.cpp	Wed Sep 30 18:31:37 2015 +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