sensord: remove unnecessary brace pair (#25816)

Remove unnecessary brace pair
pull/25737/head
Dean Lee 3 years ago committed by GitHub
parent f73b041d43
commit 1a7d6665de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      selfdrive/sensord/sensors_qcom2.cc

@ -88,10 +88,8 @@ void interrupt_loop(int fd, std::vector<Sensor *>& sensors, PubMaster& pm) {
events.adoptWithCaveats(i, kj::mv(collected_events[i])); events.adoptWithCaveats(i, kj::mv(collected_events[i]));
} }
{ std::lock_guard<std::mutex> lock(pm_mutex);
std::lock_guard<std::mutex> lock(pm_mutex); pm.send("sensorEvents", msg);
pm.send("sensorEvents", msg);
}
} }
// poweroff sensors, disable interrupts // poweroff sensors, disable interrupts

Loading…
Cancel
Save