shared_page: Remove Get3DSliderstate
This commit is contained in:
parent
594e95084b
commit
d27312b816
|
@ -85,7 +85,7 @@ void Init() {
|
||||||
CoreTiming::RegisterEvent("SharedPage::UpdateTimeCallback", UpdateTimeCallback);
|
CoreTiming::RegisterEvent("SharedPage::UpdateTimeCallback", UpdateTimeCallback);
|
||||||
CoreTiming::ScheduleEvent(0, update_time_event);
|
CoreTiming::ScheduleEvent(0, update_time_event);
|
||||||
|
|
||||||
float_le slidestate =
|
float slidestate =
|
||||||
Settings::values.toggle_3d ? (float_le)Settings::values.factor_3d / 100 : 0.0f;
|
Settings::values.toggle_3d ? (float_le)Settings::values.factor_3d / 100 : 0.0f;
|
||||||
shared_page.sliderstate_3d = slidestate;
|
shared_page.sliderstate_3d = slidestate;
|
||||||
}
|
}
|
||||||
|
@ -102,8 +102,4 @@ void Set3DLed(u8 state) {
|
||||||
shared_page.ledstate_3d = state;
|
shared_page.ledstate_3d = state;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Set3DSliderState(float_le state) {
|
|
||||||
shared_page.sliderstate_3d = state;
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace SharedPage
|
} // namespace SharedPage
|
||||||
|
|
|
@ -84,6 +84,4 @@ void SetWifiLinkLevel(WifiLinkLevel);
|
||||||
|
|
||||||
void Set3DLed(u8);
|
void Set3DLed(u8);
|
||||||
|
|
||||||
void Set3DSliderState(float_le);
|
|
||||||
|
|
||||||
} // namespace SharedPage
|
} // namespace SharedPage
|
||||||
|
|
Reference in New Issue