mirror of
https://github.com/eclipse/upm.git
synced 2025-03-14 20:47:30 +03:00
max31723: use new prefixed spi MODE enum
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
parent
5ed36a37f9
commit
a9939d6352
@ -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, MRAA_SPI_MODE2);
|
||||
// set ontinuously perform temperature conversions
|
||||
writeRegister (R_STS_WRITE_CMD, B_CONT_READING);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user