X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fstm25p%2FStm25pSectorP.nc;h=2d9260ed30e8e4f443becdb80b3cfc5af688b4e1;hb=59de8cdf465634a8140ceec00beaeb774c680a9e;hp=50bacc01ba0fa19a5c9ef4ed524edc3f4fc3e5bb;hpb=95726c4f377b30b420b603ae1ece8be67abecd83;p=tinyos-2.x.git 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 ); }