d/ohmd: Tidy includes [NFC]

This commit is contained in:
Jakob Bornecrantz 2023-11-15 15:32:45 +00:00
parent 37e46a9083
commit 3060690cbe
3 changed files with 22 additions and 17 deletions

View file

@ -1,4 +1,4 @@
// Copyright 2019, Collabora, Ltd.
// Copyright 2019-2023, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
@ -7,23 +7,16 @@
* @ingroup drv_ohmd
*/
#include "math/m_mathinclude.h"
#include "xrt/xrt_config_os.h"
#include "xrt/xrt_device.h"
#include "xrt/xrt_prober.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "os/os_time.h"
#include "openhmd.h"
#include "math/m_mathinclude.h"
#include "math/m_api.h"
#include "math/m_vec2.h"
#include "xrt/xrt_device.h"
#include "util/u_var.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
@ -34,6 +27,14 @@
#include "oh_device.h"
#include "openhmd.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
// Should we permit finite differencing to compute angular velocities when not
// directly retrieved?
DEBUG_GET_ONCE_BOOL_OPTION(ohmd_finite_diff, "OHMD_ALLOW_FINITE_DIFF", true)

View file

@ -1,4 +1,4 @@
// Copyright 2019, Collabora, Ltd.
// Copyright 2019-2023, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
@ -9,8 +9,11 @@
#pragma once
#include "math/m_api.h"
#include "xrt/xrt_device.h"
#include "math/m_api.h"
#include "openhmd.h"
#ifdef __cplusplus
extern "C" {

View file

@ -7,10 +7,6 @@
* @ingroup drv_ohmd
*/
#include <stdio.h>
#include <stdlib.h>
#include "openhmd.h"
#include "xrt/xrt_prober.h"
#include "util/u_misc.h"
@ -19,6 +15,11 @@
#include "oh_interface.h"
#include "oh_device.h"
#include "openhmd.h"
#include <stdio.h>
#include <stdlib.h>
/*!
* @implements xrt_auto_prober