mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-11 04:28:58 +00:00
Fixes test units.
This commit is contained in:
parent
4b53f6a9f0
commit
189122ab84
@ -32,9 +32,8 @@ class DigitalPhaseLockedLoopDelegate {
|
|||||||
- (instancetype)initWithClocksPerBit:(NSUInteger)clocksPerBit {
|
- (instancetype)initWithClocksPerBit:(NSUInteger)clocksPerBit {
|
||||||
self = [super init];
|
self = [super init];
|
||||||
if(self) {
|
if(self) {
|
||||||
_digitalPhaseLockedLoop = std::make_unique<Storage::DigitalPhaseLockedLoop<DigitalPhaseLockedLoopDelegate>>((unsigned int)clocksPerBit);
|
_digitalPhaseLockedLoop = std::make_unique<Storage::DigitalPhaseLockedLoop<DigitalPhaseLockedLoopDelegate>>((unsigned int)clocksPerBit, _delegate);
|
||||||
_delegate.bridge = self;
|
_delegate.bridge = self;
|
||||||
_digitalPhaseLockedLoop->set_delegate(&_delegate);
|
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user