Removed compiler warning from sht11.c
This commit is contained in:
parent
d6f63e1746
commit
cb4003eb52
@ -215,7 +215,6 @@ sht11_init(void)
|
|||||||
This assumes the SDA/SCL pins passed in the -arch.h file are
|
This assumes the SDA/SCL pins passed in the -arch.h file are
|
||||||
actually the same used for I2C operation, else comment out the following
|
actually the same used for I2C operation, else comment out the following
|
||||||
*/
|
*/
|
||||||
#warning SHT11: DISABLING I2C BUS
|
|
||||||
SHT11_PxSEL &= ~(BV(SHT11_ARCH_SDA) | BV(SHT11_ARCH_SCL));
|
SHT11_PxSEL &= ~(BV(SHT11_ARCH_SDA) | BV(SHT11_ARCH_SCL));
|
||||||
#if defined(__MSP430_HAS_MSP430X_CPU__) || defined(__MSP430_HAS_MSP430XV2_CPU__)
|
#if defined(__MSP430_HAS_MSP430X_CPU__) || defined(__MSP430_HAS_MSP430XV2_CPU__)
|
||||||
SHT11_PxREN &= ~(BV(SHT11_ARCH_SDA) | BV(SHT11_ARCH_SCL));
|
SHT11_PxREN &= ~(BV(SHT11_ARCH_SDA) | BV(SHT11_ARCH_SCL));
|
||||||
|
Loading…
Reference in New Issue
Block a user