lf: change macros to allow float freq, change 134 -> 134.2

This commit is contained in:
Philippe Teuwen 2019-10-25 00:42:47 +02:00
commit eb7268cd98
5 changed files with 15 additions and 14 deletions

View file

@ -127,7 +127,7 @@ static int CmdMotorolaRead(const char *Cmd) {
.decimation = 0,
.bits_per_sample = 0,
.averaging = false,
.divisor = LF_DIVISOR(74),
.divisor = LF_FREQ2DIV(74),
.trigger_threshold = -1,
.samples_to_skip = 4500,
.verbose = false