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.
Diff: AlohaFrame.cpp
- Revision:
- 2:849128cfddb8
- Parent:
- 1:b714fce6e23b
- Child:
- 3:9bc861001717
diff -r b714fce6e23b -r 849128cfddb8 AlohaFrame.cpp
--- a/AlohaFrame.cpp Thu Jul 14 04:47:43 2016 +0000
+++ b/AlohaFrame.cpp Mon Aug 08 09:37:32 2016 +0000
@@ -138,7 +138,7 @@
_isVerified = false;
}
-void AlohaFrame::setPayload(uint8_t payload, uint8_t idx)
+void AlohaFrame::setPayload(uint8_t idx, uint8_t payload)
{
// set payload based on index
_buffer[CRC_BASE_IDX + idx] = payload;