Rename daylight saving time check function.

This commit is contained in:
2023-10-31 16:16:05 +01:00
parent a29fda7c0d
commit c2b8cc46a3

View File

@@ -302,7 +302,7 @@ void NTPClientPlus::calc_date()
// calc if summer time active // calc if summer time active
this->update_sw_change(); this->check_daylight_saving_time();
} }
/** /**
@@ -555,7 +555,7 @@ void NTPClientPlus::set_summertime(bool summertime)
* *
* @returns bool summertime active * @returns bool summertime active
*/ */
bool NTPClientPlus::update_sw_change() bool NTPClientPlus::check_daylight_saving_time()
{ {
unsigned int day_of_week = this->_day_of_week; unsigned int day_of_week = this->_day_of_week;
unsigned int date_day = this->_date_day; unsigned int date_day = this->_date_day;