+ fixed clockbit

This commit is contained in:
rob tillaart 2015-09-26 13:57:14 +02:00
parent daf25c5e65
commit bd5f923158

View File

@ -1,7 +1,7 @@
//
// FILE: FastShiftIn.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.01
// VERSION: 0.1.02
// PURPOSE: shiftin
// DATE: 2013-09-29
// URL:
@ -50,7 +50,7 @@ int FastShiftIn::read()
else
_value |= (1 << (7 - i));
}
*_clockin |= _clockbit;
*_clockin &= ~_clockbit;
SREG = oldSREG;
}
return _value;