[vz-dev] [volkszaehler/vzlogger] 00cd6c: remove stale commented-out code

Thorben T. noreply at github.com
Mo Mär 15 20:34:09 CET 2021


  Branch: refs/heads/remove_periodic
  Home:   https://github.com/volkszaehler/vzlogger
  Commit: 00cd6cee05f33cf302f6d61ae0cce6b4dc33117d
      https://github.com/volkszaehler/vzlogger/commit/00cd6cee05f33cf302f6d61ae0cce6b4dc33117d
  Author: r00t <r00t at constancy.org>
  Date:   2021-03-14 (Sun, 14 Mar 2021)

  Changed paths:
    M src/Meter.cpp
    M src/threads.cpp

  Log Message:
  -----------
  remove stale commented-out code


  Commit: e902c138fe6f242b4a57cba05c21875b5acc895f
      https://github.com/volkszaehler/vzlogger/commit/e902c138fe6f242b4a57cba05c21875b5acc895f
  Author: r00t <r00t at constancy.org>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M include/Meter.hpp
    M src/Meter.cpp

  Log Message:
  -----------
  remove meter_details_t.periodic,

this was supposed to indicate if a protocol
requires the reading delay/"period" to be defined externally (via `interval`),
or if it limits the reading rate by itself.

this has been useless for a long time, because for many meters it depends
on the runtime configuration,
and actually a method to evaluate this at runtime has been introduced
as `allowInterval()` in cf3b676a1, many years ago.


Compare: https://github.com/volkszaehler/vzlogger/compare/00cd6cee05f3%5E...e902c138fe6f


Mehr Informationen über die Mailingliste volkszaehler-dev