diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-12-14 20:05:07 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-12-14 20:05:07 +0300 |
commit | 25fdaac582dfc1518b5a8edef2cd2d3c06f9f0d2 (patch) | |
tree | 4bb5bd9d06fc0fbc24ad17cfa5a9a1623c3a552c /src | |
parent | 5d9e8289037675ee9f33ee62a3b9e2c25e33837a (diff) |
According to user report, some inverters may return 3 digits in 14th field when querying get-rated. Support that.
Diffstat (limited to 'src')
-rw-r--r-- | src/p18/response.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p18/response.cc b/src/p18/response.cc index 4511e9a..78663b8 100644 --- a/src/p18/response.cc +++ b/src/p18/response.cc @@ -271,7 +271,7 @@ void RatedInformation::unpack() { 3, // LLL 3, // MMM 1, // N - 2, // OO + FieldLength(2, 3), // OO 3, // PPP 1, // O 1, // R |