projects
/
contrib
/
upm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
max31723: use new prefixed spi MODE enum
[contrib/upm.git]
/
src
/
max31723
/
max31723.cxx
diff --git
a/src/max31723/max31723.cxx
b/src/max31723/max31723.cxx
index
cf6e1ee
..
f00f5d4
100644
(file)
--- a/
src/max31723/max31723.cxx
+++ b/
src/max31723/max31723.cxx
@@
-59,7
+59,7
@@
MAX31723::MAX31723 (int csn) {
}
// set spi mode to mode2 (CPOL = 1, CPHA = 0)
- mraa_spi_mode (m_spi, MODE2);
+ mraa_spi_mode (m_spi, M
RAA_SPI_M
ODE2);
// set ontinuously perform temperature conversions
writeRegister (R_STS_WRITE_CMD, B_CONT_READING);
}