projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c450b5c
)
telemetrum-v4.0: MS5607 doesn't share SPI controller
author
Keith Packard
<keithp@keithp.com>
Sun, 13 Nov 2022 03:39:18 +0000
(19:39 -0800)
committer
Keith Packard
<keithp@keithp.com>
Sun, 13 Nov 2022 03:39:18 +0000
(19:39 -0800)
The PRIVATE_PINS value is a bit misleading.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/telemetrum-v4.0/ao_pins.h
patch
|
blob
|
history
diff --git
a/src/telemetrum-v4.0/ao_pins.h
b/src/telemetrum-v4.0/ao_pins.h
index 24c9a01a0e9076947f55ce88d89b3052737724b4..9abbdc551c80ee518b6c3d176ecf520f1a92af9e 100644
(file)
--- a/
src/telemetrum-v4.0/ao_pins.h
+++ b/
src/telemetrum-v4.0/ao_pins.h
@@
-195,10
+195,9
@@
struct ao_adc {
*/
#define HAS_MS5607 1
#define HAS_MS5611 0
-#define AO_MS5607_PRIVATE_PINS
1
+#define AO_MS5607_PRIVATE_PINS
0
#define AO_MS5607_CS_PORT (&samd21_port_a)
#define AO_MS5607_CS_PIN 21
-#define AO_MS5607_CS_MASK (1 << AO_MS5607_CS)
#define AO_MS5607_MISO_PORT (&samd21_port_a)
#define AO_MS5607_MISO_PIN 20
#define AO_MS5607_SPI_INDEX AO_SPI_3_PA22_PA23_PA20