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

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


  Branch: refs/heads/master
  Home:   https://github.com/volkszaehler/vzlogger
  Commit: d63359da95d3fc7955dbc56faa3d126c66043d04
      https://github.com/volkszaehler/vzlogger/commit/d63359da95d3fc7955dbc56faa3d126c66043d04
  Author: r00t <r00t at constancy.org>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

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

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


  Commit: 86cb4961a379fb529f590ad127266097cbcbb2fc
      https://github.com/volkszaehler/vzlogger/commit/86cb4961a379fb529f590ad127266097cbcbb2fc
  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/518f48e57f1c...86cb4961a379


Mehr Informationen über die Mailingliste volkszaehler-dev