asix-sigma: Silence a compiler warning (declared but not used)

The call site which referenced the variable was conditional (disabled
trigger support) but the variable declaration was not. Fix that.
This commit is contained in:
Gerhard Sittig 2017-05-26 21:36:35 +02:00 committed by Uwe Hermann
parent 2f425a56ed
commit eac48b3491
1 changed files with 2 additions and 1 deletions

View File

@ -50,13 +50,14 @@ static const uint32_t devopts[] = {
#endif
};
#if ASIX_SIGMA_WITH_TRIGGER
static const int32_t trigger_matches[] = {
SR_TRIGGER_ZERO,
SR_TRIGGER_ONE,
SR_TRIGGER_RISING,
SR_TRIGGER_FALLING,
};
#endif
static int dev_clear(const struct sr_dev_driver *di)
{