summaryrefslogtreecommitdiff
path: root/xbee.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbee.h')
-rw-r--r--xbee.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xbee.h b/xbee.h
index 2b577b2..f99fe55 100644
--- a/xbee.h
+++ b/xbee.h
@@ -21,12 +21,12 @@ void xbee_send(int len, const uint8_t* buf) {
usart_send(0x19);
usart_send(0xf1);
- usart_send(0x00);
- usart_send(0x00);
+ usart_send(0xff);
+ usart_send(0xfe);
usart_send(0x00);
usart_send(0x00);
- uint8_t chsum = 0x80;
+ uint8_t chsum = 0x83;
// Payload
for(int i = 0; i < len; i++) {