some minor lf fixes from @iceman1001

This commit is contained in:
marshmellow42 2016-02-21 17:05:53 -05:00
parent b66ff08113
commit 72c5877a74
4 changed files with 15 additions and 14 deletions

View file

@ -539,7 +539,7 @@ int CmdLFSetConfig(const char *Cmd)
return usage_lf_config();
}
//Bps is limited to 8, so fits in lower half of arg1
if(bps >> 8) bps = 8;
if(bps >> 4) bps = 8;
sample_config config = {
decimation,bps,averaging,divisor,trigger_threshold