]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Add address translation in the computeCrc.
authorrazvanm <razvanm>
Sat, 22 Dec 2007 08:11:51 +0000 (08:11 +0000)
committerrazvanm <razvanm>
Sat, 22 Dec 2007 08:11:51 +0000 (08:11 +0000)
tos/chips/stm25p/Stm25pSectorP.nc

index 50bacc01ba0fa19a5c9ef4ed524edc3f4fc3e5bb..2d9260ed30e8e4f443becdb80b3cfc5af688b4e1 100644 (file)
@@ -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 );
     
   }