flexPTP-basic/hw_port/simsrc/PtpMasterClock.cpp
2023-04-27 08:23:40 +00:00

22 lines
404 B
C++

//
// Created by epagris on 2022.10.22..
//
#include "PtpMasterClock.h"
#include <memory>
void PtpMasterClock::setup(const PtpMasterClock::PtpMasterClockSettings &settings) {
mSettings = settings;
}
void PtpMasterClock::start() {
mBeaconThread = std::make_shared<std::thread>(&PtpMasterClock::mBeaconThread, this);
}
void PtpMasterClock::mBeaconThread_CB() {
while (mRunning) {
}
}