((m_log_info[ id ].write_addr-1)>>STM25P_SECTOR_SIZE_LOG2)+1;
// if cookie is overwritten, advance to beginning of log
if ( (writeSector - readSector) > numSectors ) {
((m_log_info[ id ].write_addr-1)>>STM25P_SECTOR_SIZE_LOG2)+1;
// if cookie is overwritten, advance to beginning of log
if ( (writeSector - readSector) > numSectors ) {