[scd4x] Fix not passing arguments to templatable value for perform_forced_calibration (#3495)

This commit is contained in:
Wumpf 2022-05-24 03:00:06 +02:00 committed by GitHub
parent 9dc804ee27
commit cd35ead890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ template<typename... Ts> class PerformForcedCalibrationAction : public Action<Ts
public:
void play(Ts... x) override {
if (this->value_.has_value()) {
this->parent_->perform_forced_calibration(value_.value());
this->parent_->perform_forced_calibration(this->value_.value(x...));
}
}