]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/stm25p/Stm25pSectorP.nc
Add address translation in the computeCrc.
[tinyos-2.x.git] / 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 );
     
   }