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.
Dependencies: mbed NetServicesMin
Revision 4:9daa308155d6, committed 2012-04-17
- Comitter:
- recotana
- Date:
- Tue Apr 17 04:14:27 2012 +0000
- Parent:
- 3:51e64f5e42b8
- Commit message:
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Apr 17 03:38:00 2012 +0000
+++ b/main.cpp Tue Apr 17 04:14:27 2012 +0000
@@ -16,7 +16,7 @@
uint8_t *d=(uint8_t *)&data->ftype;
- for(uint8_t i=0 ; i<67 ; i++){
+ for(uint8_t i=0 ; i<(sizeof(Frame)+sizeof(Ftype)) ; i++){
if(d[i]==0x0A) pc.putc(0x0D); //add CR LF
pc.putc(d[i]);