libsigrok/hardware/asix-sigma
Mike Frysinger e15e5873b3 asix-sigma: fix build time warnings
We need to include unistd.h for usleep():
hardware/asix-sigma/asix-sigma.c: In function 'sigma_fpga_init_bitbang':
hardware/asix-sigma/asix-sigma.c:450:3: warning: implicit declaration of function 'usleep'
   usleep(10000);

And we need to tweak the type of chunks_per_read to match dl_lines_total:
hardware/asix-sigma/asix-sigma.c: In function 'download_capture':
hardware/asix-sigma/asix-sigma.c:1161:39: warning: comparison between signed and unsigned integer expressions
   dl_lines_curr = MIN(chunks_per_read, dl_lines_total);
2014-06-15 10:45:39 +02:00
..
asix-sigma.c asix-sigma: fix build time warnings 2014-06-15 10:45:39 +02:00
asix-sigma.h asix-sigma: Rework decode_chunk_ts() 2014-04-30 09:45:52 -07:00