NT7S / Si5351

Library for the Si5351 clock generator IC in the avr-gcc environment
GNU General Public License v3.0
34 stars 11 forks source link

Menaingless check in si5351.c #12

Open newbrain opened 5 years ago

newbrain commented 5 years ago

https://github.com/NT7S/Si5351/blob/1af6288d49458180d5aae45aab711aff31d16462/si5351.c#L138

PLL parameters are never going to be written as this check is bound to fail: pll_calc (a function pointer) will always differ from the null pointer (0).

Either: