add interface.

This commit is contained in:
pandx 2025-04-01 10:23:42 +08:00
parent c0a3294a90
commit fb313da3b0
2 changed files with 7 additions and 2 deletions

View File

@ -325,6 +325,10 @@ SensorScheduler::SensorScheduler() {
UpdateCfg::ReadCfg(update_);
}
void SensorScheduler::WaveError(int short_addr) {
return;
}
long SensorScheduler::GetBaseTimestamp(int short_addr) {
int id = 0;
auto iter = short_addr_map_.find(short_addr);

View File

@ -41,6 +41,7 @@ public:
int StartSchedule(int short_addr, int &next_duration);
int GetNextDuration(int short_addr);
void WaveError(int short_addr);
long GetBaseTimestamp(int id);
long CalcNextTimestamp(int id, uint16_t short_addr);