Rename daylight saving time check function.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user