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

Avoid malloc / free #13

Open shufps opened 3 years ago

shufps commented 3 years ago

There is no reason at all to use malloc for a 30 Bytes buffer.

The implications of using malloc and free on microcontrollers is quite severe - a simple 32 byte array should be used instead.

Probably the other issue reporting a memory leak leads to the same problem.