diff options
Diffstat (limited to 'src/p18/response.cc')
-rw-r--r-- | src/p18/response.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/p18/response.cc b/src/p18/response.cc index fa3693b..742ce9d 100644 --- a/src/p18/response.cc +++ b/src/p18/response.cc @@ -190,12 +190,12 @@ void TotalGenerated::unpack() { auto data = getData(); std::string buf(data, 8); - kwh = stou(buf); + wh = stou(buf); } formattable_ptr TotalGenerated::format(formatter::Format format) { RETURN_TABLE({ - LINE("kwh", "KWh", kwh) + LINE("wh", "Wh", wh) }); } |