summaryrefslogtreecommitdiffhomepage
path: root/tracker-trackhat/trackhat.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-trackhat/trackhat.hpp')
-rw-r--r--tracker-trackhat/trackhat.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tracker-trackhat/trackhat.hpp b/tracker-trackhat/trackhat.hpp
index d8d66f0e..a6309f9c 100644
--- a/tracker-trackhat/trackhat.hpp
+++ b/tracker-trackhat/trackhat.hpp
@@ -85,8 +85,6 @@ struct trackhat_camera final : pt_camera
bool start(const pt_settings& s) override;
void stop() override;
- [[nodiscard]] int init_regs();
- void set_pt_options();
pt_camera::result get_frame(pt_frame& frame) override;
pt_camera::result get_info() const override;
@@ -106,6 +104,9 @@ private:
enum device_status { th_noinit, th_init, th_detect, th_connect, th_running, };
trackhat_impl::setting_receiver sig;
+ [[nodiscard]] int init_regs();
+ void set_pt_options();
+
trackHat_Device_t device {};
device_status status = th_noinit;
TH_ErrorCode error_code = TH_SUCCESS;