Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/si5351.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ void Si5351::set_pll(uint64_t pll_freq, enum si5351_pll target_pll)
pllb_freq = pll_freq;
}

delete params;
delete[] params;
}

/*
Expand Down Expand Up @@ -672,7 +672,7 @@ void Si5351::set_ms(enum si5351_clock clk, struct Si5351RegSet ms_reg, uint8_t i
break;
}

delete params;
delete[] params;
}

/*
Expand Down Expand Up @@ -1240,7 +1240,7 @@ void Si5351::set_vcxo(uint64_t pll_freq, uint8_t ppm)
// Write the parameters
si5351_write_bulk(SI5351_PLLB_PARAMETERS, i, params);

delete params;
delete[] params;

// Write the VCXO parameters
vcxo_param = ((vcxo_param * ppm * SI5351_VCXO_MARGIN) / 100ULL) / 1000000ULL;
Expand Down