From 59de8cdf465634a8140ceec00beaeb774c680a9e Mon Sep 17 00:00:00 2001 From: razvanm Date: Sat, 22 Dec 2007 08:11:51 +0000 Subject: [PATCH] Add address translation in the computeCrc. --- tos/chips/stm25p/Stm25pSectorP.nc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.39.2