mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-14 17:22:59 -07:00
align clock grid with demods on graph (#276)
* align clock grid with demods on graph * proper initialized values
This commit is contained in:
parent
8aee1b8418
commit
bb4e6dbd62
13 changed files with 74 additions and 50 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue