Fix crash
This commit is contained in:
parent
c5277edc54
commit
f63c4af8be
@ -194,7 +194,7 @@ void CachedCharacteristic::process(CharacteristicType type, Value value,
|
|||||||
*value.ia = *static_cast<InterpolationArray*>(v);
|
*value.ia = *static_cast<InterpolationArray*>(v);
|
||||||
break;
|
break;
|
||||||
case TYPE_BOOL:
|
case TYPE_BOOL:
|
||||||
*value.f = *static_cast<bool*>(v);
|
*value.b = *static_cast<bool*>(v);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
*is_set = true;
|
*is_set = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user