Move writing to shared page to the nwm init
This commit is contained in:
@ -83,9 +83,6 @@ void Init() {
|
||||
update_time_event =
|
||||
CoreTiming::RegisterEvent("SharedPage::UpdateTimeCallback", UpdateTimeCallback);
|
||||
CoreTiming::ScheduleEvent(0, update_time_event);
|
||||
|
||||
SetWifiLinkLevel(WifiLinkLevel::POOR);
|
||||
SetMacAddress(DefaultMac);
|
||||
}
|
||||
|
||||
void SetMacAddress(const MacAddress& addr) {
|
||||
@ -96,4 +93,4 @@ void SetWifiLinkLevel(WifiLinkLevel level) {
|
||||
shared_page.wifi_link_level = static_cast<u8>(level);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace SharedPage
|
||||
|
Reference in New Issue
Block a user