diff --git a/misc.c b/misc.c --- a/misc.c +++ b/misc.c @@ -99,6 +99,9 @@ void SetDate(uint date) ConvertDayToYMD(&ymd, _date = date); _cur_year = ymd.year; _cur_month = ymd.month; +#ifdef ENABLE_NETWORK + _network_last_advertise_date = 0; +#endif /* ENABLE_NETWORK */ }