shared_page: Remove Get3DSliderstate

This commit is contained in:
N00byKing 2018-04-06 23:36:57 +02:00
parent 594e95084b
commit d27312b816
2 changed files with 1 additions and 7 deletions

View File

@ -85,7 +85,7 @@ void Init() {
CoreTiming::RegisterEvent("SharedPage::UpdateTimeCallback", UpdateTimeCallback);
CoreTiming::ScheduleEvent(0, update_time_event);
float_le slidestate =
float slidestate =
Settings::values.toggle_3d ? (float_le)Settings::values.factor_3d / 100 : 0.0f;
shared_page.sliderstate_3d = slidestate;
}
@ -102,8 +102,4 @@ void Set3DLed(u8 state) {
shared_page.ledstate_3d = state;
}
void Set3DSliderState(float_le state) {
shared_page.sliderstate_3d = state;
}
} // namespace SharedPage

View File

@ -84,6 +84,4 @@ void SetWifiLinkLevel(WifiLinkLevel);
void Set3DLed(u8);
void Set3DSliderState(float_le);
} // namespace SharedPage