mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 22:23:38 -07:00
remove warning
remove warning about possible div by 0
This commit is contained in:
parent
b03a05d67e
commit
20b2950385
1 changed files with 1 additions and 1 deletions
|
@ -1691,7 +1691,7 @@ int FSKClean(int *data, int *dataLen, int clk, int LowToneFC, int HighToneFC) {
|
|||
if (clk == 0 || LowToneFC == 0 || HighToneFC == 0) {
|
||||
int firstClockEdge=0;
|
||||
uint8_t ans = fskClocks((uint8_t *) &LowToneFC, (uint8_t *) &HighToneFC, (uint8_t *) &clk, false, &firstClockEdge);
|
||||
if (ans == 0) {
|
||||
if (ans == 0 || LowToneFC == 0) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue