Skip to content

Commit

Permalink
POCSAG null terminator. #118
Browse files Browse the repository at this point in the history
  • Loading branch information
travisgoodspeed committed May 11, 2019
1 parent cb7ee07 commit 24cb908
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions firmware/libs/pocsag.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ static void pocsag_handledataword(uint32_t word){
if(bitcount==7){
//Record the character.
pocsag_buffer[bytecount++]=newchar;
pocsag_buffer[bytecount]=0;
//Safety first.
if(bytecount>MAXPAGELEN-1)
bytecount=0;
Expand Down

0 comments on commit 24cb908

Please sign in to comment.