mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 16:23:46 +08:00
sensord: remove unnecessary brace pair (#25816)
Remove unnecessary brace pair old-commit-hash: 1a7d6665deafc1e35e5f8d56106a81a4686a6e44
This commit is contained in:
@@ -88,10 +88,8 @@ void interrupt_loop(int fd, std::vector<Sensor *>& sensors, PubMaster& pm) {
|
||||
events.adoptWithCaveats(i, kj::mv(collected_events[i]));
|
||||
}
|
||||
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(pm_mutex);
|
||||
pm.send("sensorEvents", msg);
|
||||
}
|
||||
std::lock_guard<std::mutex> lock(pm_mutex);
|
||||
pm.send("sensorEvents", msg);
|
||||
}
|
||||
|
||||
// poweroff sensors, disable interrupts
|
||||
|
||||
Reference in New Issue
Block a user