mirror of
https://github.com/travisgoodspeed/goodwatch
synced 2024-11-21 23:58:31 +00:00
POCSAG null terminator. #118
This commit is contained in:
parent
cb7ee07ca6
commit
24cb908cb5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user