From c457ad02dd5b0f4e1374c38befe28ca0172201e4 Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Sat, 24 Apr 2021 05:12:02 +0200 Subject: [PATCH] Add model to statusupdate --- src/dev/device.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dev/device.cpp b/src/dev/device.cpp index cf7deb75..3c531343 100644 --- a/src/dev/device.cpp +++ b/src/dev/device.cpp @@ -3,12 +3,15 @@ #include "device.h" +#define Q(x) #x +#define QUOTE(x) Q(x) + namespace dev { const char* BaseDevice::get_model() { #ifdef HASP_MODEL - return HASP_MODEL; + return QUOTE(HASP_MODEL); #else return PIOENV; #endif