MCPcopy Create free account
hub / github.com/UtilitechAS/amsreader-firmware / clearNtp

Method clearNtp

lib/AmsConfiguration/src/AmsConfiguration.cpp:649–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647}
648
649void AmsConfiguration::clearNtp(NtpConfig& config) {
650 config.enable = true;
651 config.dhcp = true;
652 strcpy_P(config.server, PSTR("pool.ntp.org"));
653 strcpy_P(config.timezone, PSTR("Europe/Oslo"));
654}
655
656bool AmsConfiguration::getPriceServiceConfig(PriceServiceConfig& config) {
657 if(hasConfig()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected