]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
update to i2c driver to make sure it goes down into low power mode when AsyncStdContr...
authorklueska <klueska>
Fri, 12 Oct 2007 22:30:26 +0000 (22:30 +0000)
committerklueska <klueska>
Fri, 12 Oct 2007 22:30:26 +0000 (22:30 +0000)
tos/chips/atm128/i2c/Atm128I2CMasterPacketP.nc

index e98fc7d19e4ab84debd2777e6adec8cfaacb7b2d..648da14084da286191737f702d366937db27b5fa 100644 (file)
@@ -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;