From 292257eaf2caf627ab587e860e51b434a95805c3 Mon Sep 17 00:00:00 2001 From: murata Date: Thu, 1 Dec 2016 03:39:13 +0900 Subject: [PATCH] AP_Beacon: checksum check uses XOR --- libraries/AP_Beacon/AP_Beacon_Pozyx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Beacon/AP_Beacon_Pozyx.cpp b/libraries/AP_Beacon/AP_Beacon_Pozyx.cpp index ca6966883a..d029715df6 100644 --- a/libraries/AP_Beacon/AP_Beacon_Pozyx.cpp +++ b/libraries/AP_Beacon/AP_Beacon_Pozyx.cpp @@ -111,11 +111,11 @@ void AP_Beacon_Pozyx::parse_buffer() uint8_t checksum = 0; checksum ^= parse_msg_id; checksum ^= parse_msg_len; - for (uint8_t i=0; i