mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Fixes test units.
This commit is contained in:
parent
4b53f6a9f0
commit
189122ab84
@ -32,9 +32,8 @@ class DigitalPhaseLockedLoopDelegate {
|
||||
- (instancetype)initWithClocksPerBit:(NSUInteger)clocksPerBit {
|
||||
self = [super init];
|
||||
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;
|
||||
_digitalPhaseLockedLoop->set_delegate(&_delegate);
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user