]> oss.titaniummirror.com Git - tinyos-2.x.git/commit
Roman Lim's fix:
authorrincon <rincon>
Thu, 28 Feb 2008 17:28:12 +0000 (17:28 +0000)
committerrincon <rincon>
Thu, 28 Feb 2008 17:28:12 +0000 (17:28 +0000)
commit300ae69d6615a2d24bfb07f1f87a905b0381d578
treef82a5c3aba3d7ca658e46bd882dceaff4047e9ad
parent6ab54ca0e1b390474bd85b043af35d164a1cf37e
Roman Lim's fix:
"i noticed that my application (running on tmotes) using dma on spi does not go to the lowest possible sleep mode but only to LPM1.
i managed to find out, that in McusleepC when calculating the lowpower mode, ME1 had the USPIE bit set. this is, because in Msp430SpiDmaP the unconfigure command does nothing. I don't know, if this is done on purpose, but if not, the same code as in Msp430SpiNoDmaP would do the job (see follwing diff)

roman"
tos/chips/msp430/usart/Msp430SpiDmaP.nc