playing with rpc
Fork of mbed-rpc by
Revision 10:727d0268a86e, committed 2015-08-05
- 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 |
diff -r 228c68184e71 -r 727d0268a86e parse_pins.cpp --- 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;