Commit c8cdf3ee authored by Jakob Bornecrantz's avatar Jakob Bornecrantz

d/ohmd: Tidy code style

parent 9c05e853
Pipeline #34006 passed with stages
in 42 seconds
......@@ -307,10 +307,12 @@ get_info(struct oh_device *ohd, const char *prod)
if (info.quirks.rotate_screen_right_after) {
// OpenHMD describes the logical orintation not the physical.
// clang-format off
ohmd_device_getf(ohd->dev, OHMD_SCREEN_HORIZONTAL_SIZE, &info.display.h_meters);
ohmd_device_getf(ohd->dev, OHMD_SCREEN_VERTICAL_SIZE, &info.display.w_meters);
ohmd_device_geti(ohd->dev, OHMD_SCREEN_HORIZONTAL_RESOLUTION, &info.display.h_pixels);
ohmd_device_geti(ohd->dev, OHMD_SCREEN_VERTICAL_RESOLUTION, &info.display.w_pixels);
// clang-format on
}
return info;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment