Skip to content

Commit

Permalink
Update neptune_r900.c
Browse files Browse the repository at this point in the history
  • Loading branch information
dockSquadron authored Mar 30, 2024
1 parent a4c9765 commit 0ab76e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/neptune_r900.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static int neptune_r900_decode(r_device *decoder, bitbuffer_t *bitbuffer)
uint8_t b[13]; // 104 bits
bitbuffer_extract_bytes(&bytes, 0, 0, b, sizeof(b)*8);

char raw[13];
char raw[27];
snprintf(raw, sizeof(raw),"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x", b[0], b[1], b[2], b[3], b[4], b[5], b[6], b[7], b[8], b[9], b[10], b[11], b[12]);

// decode the data
Expand Down

0 comments on commit 0ab76e8

Please sign in to comment.