Fix typo in mbed-rpc parse_pins

pull/4/head
Emilio Monti 2013-04-24 15:26:47 +01:00
parent 15e1cb5bbb
commit a44371aa5c
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ PinName parse_pins(const char *str) {
}
return port_pin((PortName)port, pin);
#elif defined(LTARGET_KL25Z)
#elif defined(TARGET_KL25Z)
if (str[0] == 'P' && str[1] == 'T') { // PTx_n
uint32_t port = str[2] - 'A';
uint32_t pin = str[3] - '0'; // PTxn