Make burst_source stop when end of file is reached

This commit is contained in:
Piotr Krysik 2015-05-31 11:51:09 +02:00
parent a6e271f454
commit 963f8b2031
1 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,8 @@ namespace gr {
pmt::pmt_t burst = pmt::deserialize_str(s);
message_port_pub(pmt::mp("out"), burst);
}
d_finished = true;
d_input_file.close();
stop();
}
} /* namespace gsm */
} /* namespace gr */