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.
Fork of Repo_Noeud_Mobile by
Diff: Communication/Xbee.cpp
- Revision:
- 36:e587950c288c
- Parent:
- 32:7bdaac2c4cbf
- Child:
- 39:558cd5780490
diff -r 7bdaac2c4cbf -r e587950c288c Communication/Xbee.cpp --- a/Communication/Xbee.cpp Mon Apr 06 18:53:34 2015 +0000 +++ b/Communication/Xbee.cpp Mon Apr 06 19:15:45 2015 +0000 @@ -130,15 +130,15 @@ //Validate end byte if (XbeePin->getc() == 0x7E) { - message_vers_mobile *emile = Mailbox.alloc(); + message_vers_mobile *emile = MailboxReception.alloc(); // Verifier si mail pointe pas vers 0 [boite pleine] while (emile == 0) { wait_ms(25); - emile = Mailbox.alloc(); + emile = MailboxReception.alloc(); } emile->donnees = receivedData; - Mailbox.put(emile); + MailboxReception.put(emile); } } }