projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c676ad8
)
altos/megametrum: Make MS5607 driver hold SPI bus for whole operation
author
Keith Packard
<keithp@keithp.com>
Sun, 7 Oct 2012 00:21:10 +0000
(17:21 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sun, 7 Oct 2012 00:21:10 +0000
(17:21 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/megametrum-v0.1/ao_pins.h
patch
|
blob
|
history
diff --git
a/src/megametrum-v0.1/ao_pins.h
b/src/megametrum-v0.1/ao_pins.h
index 724878b51c6bcfee669cfc7f9d8264f9e1a1a92c..eba72b4f7c9a86f25a26783d5a9c42b088d7fed8 100644
(file)
--- a/
src/megametrum-v0.1/ao_pins.h
+++ b/
src/megametrum-v0.1/ao_pins.h
@@
-248,7
+248,7
@@
struct ao_adc {
* Pressure sensor settings
*/
#define HAS_MS5607 1
* Pressure sensor settings
*/
#define HAS_MS5607 1
-#define AO_MS5607_PRIVATE_PINS
1
+#define AO_MS5607_PRIVATE_PINS
0
#define AO_MS5607_CS_PORT (&stm_gpioc)
#define AO_MS5607_CS_PIN 4
#define AO_MS5607_CS_MASK (1 << AO_MS5607_CS)
#define AO_MS5607_CS_PORT (&stm_gpioc)
#define AO_MS5607_CS_PIN 4
#define AO_MS5607_CS_MASK (1 << AO_MS5607_CS)