fix logic bug.
This commit is contained in:
parent
bb5db3ba21
commit
7c0ed5a8ab
@ -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) {
|
for (int i = 0; i < wave_slice_num_per_eigen_interval_; ++i) {
|
||||||
if (slice_sensor_id_[i+forward_wave_slice_num] == 0) {
|
if (slice_sensor_id_[i+forward_wave_slice_num] == 0) {
|
||||||
// 判断此空闲位置是否被占用
|
// 判断此空闲位置是否被占用
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user