From 738e9e37f2c4c2fee8d1ad848694360197d31696 Mon Sep 17 00:00:00 2001 From: klueska Date: Fri, 12 Oct 2007 22:30:26 +0000 Subject: [PATCH] update to i2c driver to make sure it goes down into low power mode when AsyncStdControl.stop() is called --- tos/chips/atm128/i2c/Atm128I2CMasterPacketP.nc | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2