Skip to content
Snippets Groups Projects
Commit b4a129ed authored by nrs1g15's avatar nrs1g15
Browse files

updated

parent e3300688
No related branches found
No related tags found
No related merge requests found
...@@ -37,11 +37,11 @@ void wirelessProcess() ...@@ -37,11 +37,11 @@ void wirelessProcess()
if (XBEE_SERIAL.availableForWrite() >= WIRELESS_PAYLOAD_LEN) { if (XBEE_SERIAL.availableForWrite() >= WIRELESS_PAYLOAD_LEN) {
static uint8_t payload[WIRELESS_PAYLOAD_LEN]; static uint8_t payload[WIRELESS_PAYLOAD_LEN];
cirBufferReadBytes(&wirelessTxCirBuffer, payload, WIRELESS_PAYLOAD_LEN);
tx64Request.setPayload(payload); tx64Request.setPayload(payload);
tx64Request.setPayloadLength(WIRELESS_PAYLOAD_LEN); tx64Request.setPayloadLength(WIRELESS_PAYLOAD_LEN);
cirBufferReadBytes(&wirelessTxCirBuffer, payload, WIRELESS_PAYLOAD_LEN);
xbee.send(tx64Request); xbee.send(tx64Request);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment