playing with rpc

Fork of mbed-rpc by Andrew p

Files at this revision

API Documentation at this revision

Comitter:
ajc
Date:
Wed Aug 05 23:46:10 2015 +0000
Parent:
9:228c68184e71
Commit message:
hack to build parse_pins for stm32l053

Changed in this revision

parse_pins.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/parse_pins.cpp	Fri Apr 24 00:51:09 2015 +0000
+++ b/parse_pins.cpp	Wed Aug 05 23:46:10 2015 +0000
@@ -84,7 +84,8 @@
         return pin_names[pin - 1];
 #endif
 
-    } else if (str[0] == 'L') {  // LEDn
+//} else if (str[0] == 'L') {  // LEDn
+    if (str[0] == 'L') {  // LEDn
         switch (str[3]) {
             case '1' : return LED1;
             case '2' : return LED2;