]> sigrok.org Git - libsigrok.git/commit - src/hardware/asix-sigma/asix-sigma.c
asix-sigma: Remove NUM_CHANNELS macro
authorMarek Vasut <redacted>
Sun, 20 Apr 2014 15:02:05 +0000 (17:02 +0200)
committerBert Vermeulen <redacted>
Wed, 30 Apr 2014 16:45:50 +0000 (09:45 -0700)
commit790c7ccc884df9503ec84d61825d5c016bec02e1
treeb0a8c3e94ce20d9b0a4e842d2be87fcdac331e06
parentb1648dea88d378d814bc7168c1ad6247677f65cc
asix-sigma: Remove NUM_CHANNELS macro

The NUM_CHANNELS macro is inflexible, since in 100MHz and 200MHz modes
we don't support 16 channels. Moreover, it's only used to limit the size
of array of channel labels, which can be done in much cleaner way.

Signed-off-by: Marek Vasut <redacted>
hardware/asix-sigma/asix-sigma.c