align clock grid with demods on graph

This commit is contained in:
marshmellow42 2017-04-11 10:34:43 -04:00
commit 0f321d631a
13 changed files with 73 additions and 49 deletions

View file

@ -548,10 +548,10 @@ int CmdLFfskSim(const char *Cmd)
{
return usage_lf_simfsk();
}
int firstClockEdge = 0;
if (dataLen == 0){ //using DemodBuffer
if (clk==0 || fcHigh==0 || fcLow==0){ //manual settings must set them all
uint8_t ans = fskClocks(&fcHigh, &fcLow, &clk, 0);
uint8_t ans = fskClocks(&fcHigh, &fcLow, &clk, 0, &firstClockEdge);
if (ans==0){
if (!fcHigh) fcHigh=10;
if (!fcLow) fcLow=8;