Browse Source

ntp: pointless const

mcspr-patch-1
Maxim Prokhorov 3 years ago
parent
commit
d6bd9ed993
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      code/espurna/ntp.h
  2. +1
    -1
      code/espurna/rpnrules.cpp

+ 1
- 1
code/espurna/ntp.h View File

@ -52,7 +52,7 @@ struct NtpInfo {
time_t now;
};
BrokerDeclare(NtpBroker, void(const NtpTick, time_t, const String&));
BrokerDeclare(NtpBroker, void(NtpTick, time_t, const String&));
NtpInfo ntpInfo();


+ 1
- 1
code/espurna/rpnrules.cpp View File

@ -897,7 +897,7 @@ void rpnSetup() {
#endif
#if NTP_SUPPORT
NtpBroker::Register([](const NtpTick tick, time_t timestamp, const String& datetime) {
NtpBroker::Register([](NtpTick tick, time_t timestamp, const String& datetime) {
static const String tick_every_hour(F("tick1h"));
static const String tick_every_minute(F("tick1m"));


Loading…
Cancel
Save