From: razvanm Date: Sat, 22 Dec 2007 08:11:51 +0000 (+0000) Subject: Add address translation in the computeCrc. X-Git-Tag: release_tinyos_2_1_0_0~616 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=59de8cdf465634a8140ceec00beaeb774c680a9e Add address translation in the computeCrc. --- diff --git a/tos/chips/stm25p/Stm25pSectorP.nc b/tos/chips/stm25p/Stm25pSectorP.nc index 50bacc01..2d9260ed 100644 --- a/tos/chips/stm25p/Stm25pSectorP.nc +++ b/tos/chips/stm25p/Stm25pSectorP.nc @@ -239,7 +239,7 @@ implementation { m_addr = addr; m_len = len; - return call Spi.computeCrc( crc, m_addr, m_len ); + return call Spi.computeCrc( crc, physicalAddr( id, addr ), m_len ); }