From 14bde56daf188bfc027dc8ead5b45ec0aa1109d6 Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Thu, 1 Apr 2021 01:51:31 -0400 Subject: update rest grapher is still broken refactored io / error handling a bit --- driver/driver.cpp | 2 +- driver/driver.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'driver') diff --git a/driver/driver.cpp b/driver/driver.cpp index 89f09dc..fbc2d3d 100644 --- a/driver/driver.cpp +++ b/driver/driver.cpp @@ -210,7 +210,7 @@ Return Value: DebugPrint(("RetrieveOutputBuffer failed: 0x%x\n", status)); } else { - *reinterpret_cast(buffer) = { RA_VER_MAJOR, RA_VER_MINOR, RA_VER_PATCH }; + *reinterpret_cast(buffer) = ra::version; bytes_out = sizeof(ra::version_t); } break; diff --git a/driver/driver.h b/driver/driver.h index 56742f6..6184a69 100644 --- a/driver/driver.h +++ b/driver/driver.h @@ -1,9 +1,8 @@ #pragma once #include "rawaccel-base.hpp" +#include "rawaccel-io-def.h" -#define NOMINMAX -#include #include #include -- cgit v1.2.3