Fix types
This commit is contained in:
parent
6f2eb2a418
commit
5f5646c850
3 changed files with 4 additions and 5 deletions
|
@ -121,8 +121,8 @@ void Handler::Set3DLed(u8 state) {
|
|||
shared_page.ledstate_3d = state;
|
||||
}
|
||||
|
||||
void Handler::Set3DSlider(float_le slidestate) {
|
||||
shared_page.sliderstate_3d = slidestate;
|
||||
void Handler::Set3DSlider(float slidestate) {
|
||||
shared_page.sliderstate_3d = static_cast<float_le>(slidestate);
|
||||
}
|
||||
|
||||
SharedPageDef& Handler::GetSharedPage() {
|
||||
|
|
|
@ -89,7 +89,7 @@ public:
|
|||
|
||||
void SetWifiLinkLevel(WifiLinkLevel);
|
||||
|
||||
void Set3DSlider(float_le);
|
||||
void Set3DSlider(float);
|
||||
|
||||
void Set3DLed(u8);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue