Skip to content

Commit

Permalink
Add back hwmon model keyword
Browse files Browse the repository at this point in the history
Must have been lost during some refactoring. Fixes github issue #244.
  • Loading branch information
vmatare committed Oct 15, 2024
1 parent b1ad819 commit 981a52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yamlconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ bool convert_driver<vector<wtf_ptr<HwmonSensorDriver>>>(
return false;

allowed_keywords(node, {
kw_hwmon, kw_correction, kw_name, kw_optional, kw_max_errors, kw_indices
kw_hwmon, kw_correction, kw_name, kw_optional, kw_max_errors, kw_indices, kw_model
});

string path = node[kw_hwmon].as<string>();
Expand Down

0 comments on commit 981a52b

Please sign in to comment.