parse_mac: fix fer calculation

This commit is contained in:
Bastian Bloessl
2015-04-17 10:21:46 +02:00
parent 2e8d3493c5
commit d8425932f6
+1 -1
View File
@@ -270,7 +270,7 @@ void parse_data(char *buf, int length) {
d_last_seq_no = seq_no;
// publish FER estimate
pmt::pmt_t pdu = pmt::make_f32vector(1, fer * 100);
pmt::pmt_t pdu = pmt::make_f32vector(lost_frames + 1, fer * 100);
message_port_pub(pmt::mp("fer"), pmt::cons( pmt::PMT_NIL, pdu ));
}