POCSAG null terminator. #118

This commit is contained in:
Travis Goodspeed 2019-05-11 19:31:36 -04:00
parent cb7ee07ca6
commit 24cb908cb5

View File

@ -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;