mirror of
https://github.com/merbanan/rtl_433.git
synced 2026-04-23 11:07:09 -04:00
minor: Fix payload length in RadioHead-ASK (#2027)
This commit is contained in:
@@ -155,7 +155,7 @@ static int radiohead_ask_callback(r_device *decoder, bitbuffer_t *bitbuffer)
|
||||
header_flags = rh_payload[4];
|
||||
|
||||
// Format data
|
||||
for (int j = 0; j < msg_len; j++) {
|
||||
for (int j = 0; j < data_len; j++) {
|
||||
rh_data_payload[j] = (int)rh_payload[5 + j];
|
||||
}
|
||||
/* clang-format off */
|
||||
|
||||
Reference in New Issue
Block a user