mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
d/hdk: Tidy code style
This commit is contained in:
parent
4540cff077
commit
e4a016f4d6
|
@ -269,9 +269,7 @@ hdk_device_create(hid_device *dev,
|
||||||
double vCOP = 0.5;
|
double vCOP = 0.5;
|
||||||
|
|
||||||
switch (variant) {
|
switch (variant) {
|
||||||
case HDK_UNKNOWN:
|
case HDK_UNKNOWN: assert(!"unknown device"); break;
|
||||||
assert(!"unknown device");
|
|
||||||
break;
|
|
||||||
|
|
||||||
case HDK_VARIANT_1_2:
|
case HDK_VARIANT_1_2:
|
||||||
// Distortion optional - this is for no distortion.
|
// Distortion optional - this is for no distortion.
|
||||||
|
@ -312,9 +310,7 @@ hdk_device_create(hid_device *dev,
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (variant) {
|
switch (variant) {
|
||||||
case HDK_UNKNOWN:
|
case HDK_UNKNOWN: assert(!"unknown device"); break;
|
||||||
assert(!"unknown device");
|
|
||||||
break;
|
|
||||||
|
|
||||||
case HDK_VARIANT_2: {
|
case HDK_VARIANT_2: {
|
||||||
hd->base.screens[0].nominal_frame_interval_ns =
|
hd->base.screens[0].nominal_frame_interval_ns =
|
||||||
|
|
Loading…
Reference in a new issue