Make burst_source stop when end of file is reached
This commit is contained in:
parent
a6e271f454
commit
963f8b2031
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue