Skip to content

Commit e43ab86

Browse files
PolarGooseCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 8962b7c commit e43ab86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ parser.load_default_patterns();
4444

4545
If your meter emits a layout not covered by the built-ins, you can register custom patterns. Lower priority numbers are evaluated first.
4646
```c++
47-
parser.register_pattern("MyPattern", "TO, TV, S(TS, TU)", 5);
47+
parser.register_pattern("MyPattern", "TO, TV, S(TS, TU)", 5, {});
4848

4949
// With default OBIS — used when the pattern captures no OBIS code
5050
dlms_parser::ObisId meter_obis(0, 0, 96, 1, 0, 255); // 0.0.96.1.0.255

0 commit comments

Comments
 (0)