projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos]
/
src
/
drivers
/
ao_ads124s0x.h
diff --git
a/src/drivers/ao_ads124s0x.h
b/src/drivers/ao_ads124s0x.h
index 42bdc45e78e1ef831aac57a2986d321d034083fe..c881ca57da6ed6554149dbb5854bbdb5de2ae04d 100644
(file)
--- 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;