zeroplus: Fix compiler warnings.

This commit is contained in:
Uwe Hermann 2010-04-09 21:20:22 +02:00
parent 08cfe6a2b7
commit 86c5e27908
1 changed files with 5 additions and 5 deletions

View File

@ -108,12 +108,12 @@ static struct samplerates samplerates = {
/* TODO: all of these should go in a device-specific struct */
static uint64_t cur_samplerate = 0;
static uint64_t limit_samples = 0;
uint8_t num_channels = 32; // XXX this is not getting initialized before it is needed :(
int num_channels = 32; // XXX this is not getting initialized before it is needed :(
uint64_t memory_size = 0;
static uint8_t probe_mask = 0, \
trigger_mask[NUM_TRIGGER_STAGES] = {0}, \
trigger_value[NUM_TRIGGER_STAGES] = {0}, \
trigger_buffer[NUM_TRIGGER_STAGES] = {0};;
static uint8_t probe_mask = 0;
static uint8_t trigger_mask[NUM_TRIGGER_STAGES] = {0};
static uint8_t trigger_value[NUM_TRIGGER_STAGES] = {0};
// static uint8_t trigger_buffer[NUM_TRIGGER_STAGES] = {0};
static int hw_set_configuration(int device_index, int capability, void *value);