Int->float for deviation
This commit is contained in:
parent
2b1c4fc77e
commit
e94e996db1
2 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ This program is free software: you can redistribute it and/or modify
|
|||
#include "fskburst.h"
|
||||
|
||||
|
||||
fskburst::fskburst(uint64_t TuneFrequency,uint32_t SymbolRate,uint32_t Deviation,int Channel,uint32_t FifoSize):bufferdma(Channel,FifoSize+2,2,1),freqdeviation(Deviation)
|
||||
fskburst::fskburst(uint64_t TuneFrequency,uint32_t SymbolRate,float Deviation,int Channel,uint32_t FifoSize):bufferdma(Channel,FifoSize+2,2,1),freqdeviation(Deviation)
|
||||
{
|
||||
|
||||
clkgpio::SetAdvancedPllMode(true);
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
class fskburst:public bufferdma,public clkgpio,public pwmgpio,public pcmgpio
|
||||
{
|
||||
protected:
|
||||
uint32_t freqdeviation;
|
||||
float freqdeviation;
|
||||
uint32_t Originfsel;
|
||||
bool syncwithpwm;
|
||||
dma_cb_t *lastcbp;
|
||||
public:
|
||||
fskburst(uint64_t TuneFrequency,uint32_t SymbolRate,uint32_t Deviation,int Channel,uint32_t FifoSize);
|
||||
fskburst(uint64_t TuneFrequency,uint32_t SymbolRate,float Deviation,int Channel,uint32_t FifoSize);
|
||||
~fskburst();
|
||||
void SetDmaAlgo();
|
||||
|
||||
|
|
Loading…
Reference in a new issue