fix logic bug.

This commit is contained in:
pandx 2025-04-10 09:42:35 +08:00
parent bb5db3ba21
commit 7c0ed5a8ab

View File

@ -250,7 +250,7 @@ long SensorScheduler::CalcNextTimestamp(int id, uint16_t short_addr) {
}
}
}
} else if (MissedWave(short_addr)) {
} else if (!MissedWave(short_addr)) {
for (int i = 0; i < wave_slice_num_per_eigen_interval_; ++i) {
if (slice_sensor_id_[i+forward_wave_slice_num] == 0) {
// 判断此空闲位置是否被占用