libsigrok/hardware/asix-sigma
Marek Vasut 23b886bc40 asix-sigma: Init cur_sample_rate
Init the cur_sample_rate to 200kHz. This is now the default sample
rate for the ASIX Sigma if no other is specified by -c samplerate=N
on the command line. Without this change, the driver would crash on
SIGFPE because a division by zero would happen.

Signed-off-by: Marek Vasut <marex@denx.de>
2014-04-30 09:45:52 -07:00
..
asix-sigma.c asix-sigma: Init cur_sample_rate 2014-04-30 09:45:52 -07:00
asix-sigma.h asix-sigma: Rework decode_chunk_ts() 2014-04-30 09:45:52 -07:00