projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a55501
)
altos/megametrum: Switch back to using the MS5607
author
Keith Packard
<keithp@keithp.com>
Thu, 18 Oct 2012 22:34:41 +0000
(15:34 -0700)
committer
Keith Packard
<keithp@keithp.com>
Thu, 18 Oct 2012 22:34:41 +0000
(15:34 -0700)
We're planning to ship the MS5607
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..e4c8c8fbc0a4536cd64b2ba86c775a83ff6fdf47 100644
(file)
--- a/
src/megametrum-v0.1/ao_pins.h
+++ b/
src/megametrum-v0.1/ao_pins.h
@@
-18,8
+18,6
@@
#ifndef _AO_PINS_H_
#define _AO_PINS_H_
-#define HAS_MS5611 1
-
/* 8MHz High speed external crystal */
#define AO_HSE 8000000
@@
-248,6
+246,7
@@
struct ao_adc {
* Pressure sensor settings
*/
#define HAS_MS5607 1
+#define HAS_MS5611 0
#define AO_MS5607_PRIVATE_PINS 1
#define AO_MS5607_CS_PORT (&stm_gpioc)
#define AO_MS5607_CS_PIN 4