diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/ao_ads124s0x.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/drivers/ao_ads124s0x.h b/src/drivers/ao_ads124s0x.h index 42bdc45e..c881ca57 100644 --- a/src/drivers/ao_ads124s0x.h +++ b/src/drivers/ao_ads124s0x.h @@ -58,10 +58,7 @@ #define AO_ADS124S0X_GPIOCON 0x11 struct ao_ads124s0x_sample { - int32_t ain0; - int32_t ain1; - int32_t ain2; - int32_t ain3; + int32_t ain[AO_ADS124S0X_CHANNELS]; }; extern struct ao_ads124s0x_sample ao_ads124s0x_current; |