HackRF Jawbreaker enhancements -- selectable DC blocking filter improves short

pkt decoding.
This commit is contained in:
Nick Foster
2013-08-09 15:41:26 -07:00
parent 55559086ac
commit ca58874861
5 changed files with 34 additions and 9 deletions

View File

@@ -427,7 +427,7 @@ def make_parser(pub):
try:
ret = air_modes.modes_report(modes_reply(int(data, 16)),
int(ecc, 16),
10.0*math.log10(float(reference)),
10.0*math.log10(max(1e-8,float(reference))),
air_modes.stamp(0, float(timestamp)))
pub["modes_dl"] = ret
pub["type%i_dl" % ret.data.get_type()] = ret