Searched refs:preStatus (Results 1 – 1 of 1) sorted by relevance
146 uint8_t preStatus = EEPROM_Read_Byte(sectorAddress); in sectorWriteLockBit() local148 bool status = (preStatus >> sectorBit) & 0x01; in sectorWriteLockBit()151 writeByte(sectorAddress,preStatus&(~(1<<sectorBit))); in sectorWriteLockBit()153 writeByte(sectorAddress,preStatus|(1<<sectorBit)); in sectorWriteLockBit()