code: Small cleanups and fixes to lambda captures (#6191)
Co-authored-by: v1993 <v19930312@gmail.com> Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
This commit is contained in:
parent
9d5ae8e1c2
commit
cb82ffbe20
6 changed files with 17 additions and 8 deletions
|
@ -233,7 +233,7 @@ CalibrationConfigurationJob::CalibrationConfigurationJob(
|
|||
std::function<void(Status)> status_callback,
|
||||
std::function<void(u16, u16, u16, u16)> data_callback) {
|
||||
|
||||
std::thread([=] {
|
||||
std::thread([=, this] {
|
||||
constexpr u16 CALIBRATION_THRESHOLD = 100;
|
||||
|
||||
u16 min_x{UINT16_MAX};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue