mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
+ fixed clockbit
This commit is contained in:
parent
daf25c5e65
commit
bd5f923158
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user