From: klueska Date: Fri, 12 Oct 2007 22:30:26 +0000 (+0000) Subject: update to i2c driver to make sure it goes down into low power mode when AsyncStdContr... X-Git-Tag: release_tinyos_2_1_0_0~685 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=738e9e37f2c4c2fee8d1ad848694360197d31696;p=tinyos-2.x.git update to i2c driver to make sure it goes down into low power mode when AsyncStdControl.stop() is called --- diff --git a/tos/chips/atm128/i2c/Atm128I2CMasterPacketP.nc b/tos/chips/atm128/i2c/Atm128I2CMasterPacketP.nc index e98fc7d1..648da140 100644 --- a/tos/chips/atm128/i2c/Atm128I2CMasterPacketP.nc +++ b/tos/chips/atm128/i2c/Atm128I2CMasterPacketP.nc @@ -114,6 +114,7 @@ implementation { call I2C.enable(FALSE); call I2C.enableInterrupt(FALSE); call I2C.setInterruptPending(FALSE); + call I2C.sendCommand(); call I2C.off(); state = I2C_OFF; return SUCCESS;