diff --git a/src/filterbank_header.c b/src/filterbank_header.c index ff42998..e45f632 100644 --- a/src/filterbank_header.c +++ b/src/filterbank_header.c @@ -10,7 +10,7 @@ void filterbank_header(FILE *outptr) /* includefile */ /* go no further here if not interested in header parameters */ if (headerless) return; /* broadcast the header parameters to the output stream */ - if (machine_id != 0) { + if (machine_id > -1) { send_string("HEADER_START"); send_string("rawdatafile"); send_string(inpfile); diff --git a/src/readpsrfits_hd.c b/src/readpsrfits_hd.c index 5c2fc46..54fe1b0 100644 --- a/src/readpsrfits_hd.c +++ b/src/readpsrfits_hd.c @@ -29,7 +29,7 @@ void readpsrfits_hd(char *filename,int *machine_id,int *telescope_id,int *data_t float ch_freq[MX_NCHAN]; // Defaults that are not being set - *machine_id=-1; + *machine_id=0; *data_type = 0; *ibeam = 1; status=0;